libs/iwinfo: treat wifiX as wireless iface in dummy backend
This commit is contained in:
parent
bec91e4caf
commit
c582cbcb61
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue