From: Jo-Philipp Wich Date: Tue, 27 Oct 2009 21:43:34 +0000 (+0000) Subject: libs/iwinfo: treat wifiX as wireless iface in dummy backend X-Git-Tag: 0.10.0~1059 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c582cbcb61e231c5993b94476d19c04fbd8d2e35;p=oweals%2Fluci.git libs/iwinfo: treat wifiX as wireless iface in dummy backend --- diff --git a/libs/iwinfo/src/dummy.lua b/libs/iwinfo/src/dummy.lua index 75fb4baf2..290d0773b 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