summaryrefslogtreecommitdiffhomepage
path: root/libs/iwinfo
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-10-27 21:43:34 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-10-27 21:43:34 +0000
commitc582cbcb61e231c5993b94476d19c04fbd8d2e35 (patch)
tree4c906759a7bd0ac38329ee55257bd77dbb903707 /libs/iwinfo
parentbec91e4cafbe830e96cb9a3b3199d5c75da3c011 (diff)
libs/iwinfo: treat wifiX as wireless iface in dummy backend
Diffstat (limited to 'libs/iwinfo')
-rw-r--r--libs/iwinfo/src/dummy.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/iwinfo/src/dummy.lua b/libs/iwinfo/src/dummy.lua
index 75fb4baf2e..290d0773be 100644
--- a/libs/iwinfo/src/dummy.lua
+++ b/libs/iwinfo/src/dummy.lua
@@ -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