summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-freifunk/luasrc/view
diff options
context:
space:
mode:
Diffstat (limited to 'modules/luci-mod-freifunk/luasrc/view')
-rw-r--r--modules/luci-mod-freifunk/luasrc/view/freifunk/public_status.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-freifunk/luasrc/view/freifunk/public_status.htm b/modules/luci-mod-freifunk/luasrc/view/freifunk/public_status.htm
index fc3948ecc1..1dc1d8b0d1 100644
--- a/modules/luci-mod-freifunk/luasrc/view/freifunk/public_status.htm
+++ b/modules/luci-mod-freifunk/luasrc/view/freifunk/public_status.htm
@@ -264,7 +264,7 @@ end
netlist[#netlist+1] = net:ifname()
netdevs[net:ifname()] = dev:name()
- if net.iwdata.device then
+ if net.iwinfo.signal and net.iwinfo.bssid then
local signal = net.iwinfo.signal or "N/A"
local noise = net.iwinfo.noise or "N/A"
local q = net.iwinfo.quality or "0"