diff options
Diffstat (limited to 'libs/iwinfo/src')
-rw-r--r-- | libs/iwinfo/src/dummy.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/iwinfo/src/dummy.lua b/libs/iwinfo/src/dummy.lua index 45bf047fa5..75fb4baf2e 100644 --- a/libs/iwinfo/src/dummy.lua +++ b/libs/iwinfo/src/dummy.lua @@ -1,7 +1,9 @@ module "iwinfo" -function type() - return "dummy" +function type(x) + if x:match("^wlan%d") or x:match("^wl%d") or x:match("^ath%d") then + return "dummy" + end end dummy = {} |