summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-admin-full
diff options
context:
space:
mode:
authorzjw <joe@madewell.net>2018-06-13 10:30:25 -0400
committerJo-Philipp Wich <jo@mein.io>2018-06-25 11:39:24 +0200
commit6ff7f34ee8401bff554939608b8a56e566a7eec2 (patch)
tree81f947f93c10b60ac608dbabd0a0041b217ffc45 /modules/luci-mod-admin-full
parent1b0165645139d008d9a188257139e57ef2fe195a (diff)
luci-mod-admin-full: report SNR unit as dB, not dBm
Fixes: #1880 Reported-by: "zjw" Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-admin-full')
-rw-r--r--modules/luci-mod-admin-full/luasrc/view/admin_status/wireless.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_status/wireless.htm b/modules/luci-mod-admin-full/luasrc/view/admin_status/wireless.htm
index 09b796577..1806f4a6c 100644
--- a/modules/luci-mod-admin-full/luasrc/view/admin_status/wireless.htm
+++ b/modules/luci-mod-admin-full/luasrc/view/admin_status/wireless.htm
@@ -276,7 +276,7 @@
function wireless_label(dbm, noise)
{
if (noise)
- return String.format("%d <%:dBm%> (SNR %d <%:dBm%>)", noise_floor + dbm - 255, dbm - noise);
+ return String.format("%d <%:dBm%> (SNR %d <%:dB%>)", noise_floor + dbm - 255, dbm - noise);
else
return String.format("%d <%:dBm%>", noise_floor + dbm - 255);
}