diff --git a/html/wifi/wifi.js b/html/wifi/wifi.js index 0024248..d99be55 100644 --- a/html/wifi/wifi.js +++ b/html/wifi/wifi.js @@ -56,7 +56,7 @@ function scanResult() { scanReqCnt += 1; ajaxJson('GET', "scan", function(data) { currAp = getSelectedEssid(); - if (data.result.inProgress == "0" && data.result.APs.length > 1) { + if (data.result.inProgress == "0" && data.result.APs.length > 0) { $("#aps").innerHTML = ""; var n = 0; for (var i=0; i