projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69d9936
)
[backfire] merge r28199
author
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 22 Sep 2011 02:53:37 +0000
(
02:53
+0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 22 Sep 2011 02:53:37 +0000
(
02:53
+0000)
SVN-Revision: 28284
package/madwifi/files/lib/wifi/madwifi.sh
patch
|
blob
|
history
diff --git
a/package/madwifi/files/lib/wifi/madwifi.sh
b/package/madwifi/files/lib/wifi/madwifi.sh
index 51b60bc5dfc4611ee41735c7a9d267183256c2e4..564741b7edb89b2433cefd48e7c90b3b85f94129 100755
(executable)
--- a/
package/madwifi/files/lib/wifi/madwifi.sh
+++ b/
package/madwifi/files/lib/wifi/madwifi.sh
@@
-4,11
+4,13
@@
append DRIVERS "atheros"
scan_atheros() {
local device="$1"
local wds
- local adhoc ahdemo sta ap monitor
+ local adhoc ahdemo sta ap monitor
disabled
config_get vifs "$device" vifs
for vif in $vifs; do
-
+ config_get_bool disabled "$vif" disabled 0
+ [ $disabled = 0 ] || continue
+
config_get ifname "$vif" ifname
config_set "$vif" ifname "${ifname:-ath}"