summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--modules/luci-mod-status/htdocs/luci-static/resources/view/status/channel_analysis.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/channel_analysis.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/channel_analysis.js
index 692c67e3cd..d7d1de1b4c 100644
--- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/channel_analysis.js
+++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/channel_analysis.js
@@ -191,6 +191,7 @@ return view.extend({
scanCache[results[i].bssid] = {};
scanCache[results[i].bssid].data = results[i];
+ scanCache[results[i].bssid].data.stale = false;
}
if (scanCache[local_wifi.bssid] == null)
@@ -226,7 +227,7 @@ return view.extend({
}
for (var k in scanCache)
- if (scanCache[k].stale)
+ if (scanCache[k].data.stale)
results.push(scanCache[k].data);
results.sort(function(a, b) {
@@ -302,7 +303,7 @@ return view.extend({
E('span', { 'style': s }, '%h'.format(res.bssid))
]);
- res.stale = true;
+ scanCache[results[i].bssid].data.stale = true;
}
cbi_update_table(table, rows);