mirror of
https://github.com/coolsnowwolf/luci
synced 2025-01-09 09:17:27 +08:00
network: fix stun when disable wifi
This commit is contained in:
parent
da60000575
commit
b9fb9da50a
@ -1598,7 +1598,7 @@ end
|
||||
|
||||
function wifinet.channel(self)
|
||||
return self.iwinfo.channel or self:ubus("dev", "config", "channel") or
|
||||
tonumber(self:get("channel"))
|
||||
tonumber(self:get("channel") or "")
|
||||
end
|
||||
|
||||
function wifinet.signal(self)
|
||||
|
Loading…
Reference in New Issue
Block a user