diff options
Diffstat (limited to 'libs/sys/luasrc')
-rw-r--r-- | libs/sys/luasrc/sys.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/sys/luasrc/sys.lua b/libs/sys/luasrc/sys.lua index c0fb5286e..bcffe7c4e 100644 --- a/libs/sys/luasrc/sys.lua +++ b/libs/sys/luasrc/sys.lua @@ -836,6 +836,7 @@ function wifi.getiwinfo(ifname) local u = uci.cursor_state() local d, n = ifname:match("^(%w+)%.network(%d+)") if d and n then + ifname = d n = tonumber(n) u:foreach("wireless", "wifi-iface", function(s) |