libs/iwinfo: treat wifiX as wireless iface in dummy backend
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 27 Oct 2009 21:43:34 +0000 (21:43 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 27 Oct 2009 21:43:34 +0000 (21:43 +0000)
libs/iwinfo/src/dummy.lua

index 75fb4ba..290d077 100644 (file)
@@ -1,7 +1,8 @@
 module "iwinfo"
 
 function type(x)
-       if x:match("^wlan%d") or x:match("^wl%d") or x:match("^ath%d") then
+       if x:match("^wlan%d") or x:match("^wl%d") or
+          x:match("^wifi%d") or x:match("^ath%d") then
                return "dummy"
        end
 end