<HTML><BODY>
<div>From 8965b583ea76bf851098159675b2901e1920c646 Mon Sep 17 00:00:00 2001</div><div>From: Georgi Valkov <gvalkov@abv.bg></div><div>Date: Sat, 18 Jul 2015 01:22:47 +0300</div><div>Subject: [PATCH] Fix: Status for disabled wireless networks may display the</div><div> SSID, BSSID and Mode of an active network on the same radio.</div><div><br></div><div>---</div><div> modules/luci-base/luasrc/model/network.lua | 6 +++---</div><div> 1 file changed, 3 insertions(+), 3 deletions(-)</div><div><br></div><div>diff --git a/modules/luci-base/luasrc/model/network.lua b/modules/luci-base/luasrc/model/network.lua</div><div>index b6e390e..20e1032 100644</div><div>--- a/modules/luci-base/luasrc/model/network.lua</div><div>+++ b/modules/luci-base/luasrc/model/network.lua</div><div>@@ -1421,7 +1421,7 @@ function wifinet.is_up(self)</div><div> end</div><div> </div><div> function wifinet.active_mode(self)</div><div>-<span class="Apple-tab-span" style="white-space:pre"> </span>local m = _stror(self.iwinfo.mode, self.iwdata.mode) or "ap"</div><div>+<span class="Apple-tab-span" style="white-space:pre"> </span>local m = _stror(self.iwdata.mode, self.iwinfo.mode) or "ap"</div><div> </div><div> <span class="Apple-tab-span" style="white-space:pre"> </span>if m == "ap" then m = "Master"</div><div> <span class="Apple-tab-span" style="white-space:pre"> </span>elseif m == "sta" then m = "Client"</div><div>@@ -1438,11 +1438,11 @@ function wifinet.active_mode_i18n(self)</div><div> end</div><div> </div><div> function wifinet.active_ssid(self)</div><div>-<span class="Apple-tab-span" style="white-space:pre"> </span>return _stror(self.iwinfo.ssid, self.iwdata.ssid)</div><div>+<span class="Apple-tab-span" style="white-space:pre"> </span>return _stror(self.iwdata.ssid, self.iwinfo.ssid)</div><div> end</div><div> </div><div> function wifinet.active_bssid(self)</div><div>-<span class="Apple-tab-span" style="white-space:pre"> </span>return _stror(self.iwinfo.bssid, self.iwdata.bssid) or "00:00:00:00:00:00"</div><div>+<span class="Apple-tab-span" style="white-space:pre"> </span>return _stror(self.iwdata.bssid, self.iwinfo.bssid) or "00:00:00:00:00:00"</div><div> end</div><div> </div><div> function wifinet.active_encryption(self)</div><div>-- </div><div>1.9.1</div><div><br></div></BODY></HTML>