summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2014-10-03 13:34:56 +0000
committerJo-Philipp Wich <jow@openwrt.org>2014-10-03 13:34:56 +0000
commitcee38c117770ba76604778d3940ba7d354abd1a4 (patch)
tree474d1ea04bbd56e5622a4b8270aceafcc4c3b479
parent3d3fdcbd59710885aba1176e3996ac40798364c7 (diff)
modules/admin-full: fix assoc state check for sta mode in wifi overview
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
-rw-r--r--modules/admin-full/luasrc/view/admin_network/wifi_overview.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/admin-full/luasrc/view/admin_network/wifi_overview.htm b/modules/admin-full/luasrc/view/admin_network/wifi_overview.htm
index d52887645..d10ea2684 100644
--- a/modules/admin-full/luasrc/view/admin_network/wifi_overview.htm
+++ b/modules/admin-full/luasrc/view/admin_network/wifi_overview.htm
@@ -187,7 +187,7 @@ You may obtain a copy of the License at
for( var i = 0; i < st.length; i++ )
{
var iw = st[i];
- var is_assoc = (iw.bssid && iw.bssid != '00:00:00:00:00:00' && iw.channel);
+ var is_assoc = (iw.bssid && iw.bssid != '00:00:00:00:00:00' && iw.channel && iw.mode != 'Unknown');
var p = iw.quality;
var q = is_assoc ? p : -1;