From a13d161ed9b96d85948a79be9337709cf65607eb Mon Sep 17 00:00:00 2001 From: Jeroen Domburg Date: Wed, 10 Dec 2014 17:31:35 +0100 Subject: [PATCH] rssi fix, thanks kisesp --- html/wifi/wifi.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/wifi/wifi.tpl b/html/wifi/wifi.tpl index e4d19a8..e513025 100644 --- a/html/wifi/wifi.tpl +++ b/html/wifi/wifi.tpl @@ -11,7 +11,7 @@ function createInputForAp(ap) { var div=document.createElement("div"); div.id="apdiv"; var rssi=document.createElement("div"); - var rssiVal=-Math.floor(ap.rssi/5)*32; + var rssiVal=-Math.floor(ap.rssi/51)*32; rssi.className="icon"; rssi.style.backgroundPosition="0px "+rssiVal+"px"; var encrypt=document.createElement("div");