summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--modules/luci-compat/luasrc/model/network.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-compat/luasrc/model/network.lua b/modules/luci-compat/luasrc/model/network.lua
index a36a23f32..7c88b428c 100644
--- a/modules/luci-compat/luasrc/model/network.lua
+++ b/modules/luci-compat/luasrc/model/network.lua
@@ -181,7 +181,7 @@ function _wifi_iface(x)
return true
end
end
- return false
+ return (nfs.access("/sys/class/net/%s/phy80211" % x) == true)
end
local function _wifi_iwinfo_by_ifname(ifname, force_phy_only)