summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2016-06-11 10:30:33 +0300
committerGitHub <noreply@github.com>2016-06-11 10:30:33 +0300
commitd014234195f1bf3315e18a3fca5b933ba38f8460 (patch)
tree8e842cf64da06030e329228841ffb9ccb04661d7
parent0b8bfed7c24178b803a5642ebe6fcd95871d9799 (diff)
parent1e7466bbda363c296b6d173486eee96681af0b83 (diff)
Merge pull request #739 from LipkeGu/patch-1
luci-mod-freifunk: Fix "Undefined reference to net.iwdata"
-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 fc3948ecc..1dc1d8b0d 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"