From cee38c117770ba76604778d3940ba7d354abd1a4 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 3 Oct 2014 13:34:56 +0000 Subject: [PATCH] modules/admin-full: fix assoc state check for sta mode in wifi overview Signed-off-by: Jo-Philipp Wich --- modules/admin-full/luasrc/view/admin_network/wifi_overview.htm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.25.1