projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bec91e4
)
libs/iwinfo: treat wifiX as wireless iface in dummy backend
author
Jo-Philipp Wich
<jow@openwrt.org>
Tue, 27 Oct 2009 21:43:34 +0000
(21:43 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Tue, 27 Oct 2009 21:43:34 +0000
(21:43 +0000)
libs/iwinfo/src/dummy.lua
patch
|
blob
|
history
diff --git
a/libs/iwinfo/src/dummy.lua
b/libs/iwinfo/src/dummy.lua
index 75fb4baf2efa6a6a3bcef626cc07e2714fbf1d1e..290d0773beb6be8175681bc336e48dd027c15d83 100644
(file)
--- 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