libs/iwinfo: treat wifiX as wireless iface in dummy backend

This commit is contained in:
Jo-Philipp Wich 2009-10-27 21:43:34 +00:00
parent bec91e4caf
commit c582cbcb61

View 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