Merge pull request #739 from LipkeGu/patch-1
luci-mod-freifunk: Fix "Undefined reference to net.iwdata"
This commit is contained in:
commit
d014234195
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue