aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-11-14 23:35:12 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-11-14 23:35:12 +0000
commitbd8dad29fa8ed36a2518bec8f95a8fe855517df7 (patch)
tree28085f8964d73b52f1d1586f89f393ef3d36fcdf /package/madwifi/files
parent9baac9c54bbefc2195260c4d1108f9fa30ccd4bc (diff)
downloadupstream-bd8dad29fa8ed36a2518bec8f95a8fe855517df7.tar.gz
upstream-bd8dad29fa8ed36a2518bec8f95a8fe855517df7.tar.bz2
upstream-bd8dad29fa8ed36a2518bec8f95a8fe855517df7.zip
madwifi: ap+sta race conditions
SVN-Revision: 13208
Diffstat (limited to 'package/madwifi/files')
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh
index 5ce288f6e6..0ff9292600 100755
--- a/package/madwifi/files/lib/wifi/madwifi.sh
+++ b/package/madwifi/files/lib/wifi/madwifi.sh
@@ -42,7 +42,7 @@ scan_atheros() {
*) echo "$device: Invalid mode combination in config"; return 1;;
esac
- config_set "$device" vifs "${ap:+$ap }${adhoc:+$adhoc }${ahdemo:+$ahdemo }${sta:+$sta }${wds:+$wds }${monitor:+$monitor}"
+ config_set "$device" vifs "${sta:+$sta }${ap:+$ap }${adhoc:+$adhoc }${ahdemo:+$ahdemo }${wds:+$wds }${monitor:+$monitor}"
}