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
commitdb2352a922cbbe94f258a2e91d82fd7ec7fda822 (patch)
tree2f1ca252ad9fe2459d2f9e52ad24f116fd49a905 /package/madwifi/files
parent38660ed491006805437ff18cf0b432b5fe1faf4b (diff)
downloadupstream-db2352a922cbbe94f258a2e91d82fd7ec7fda822.tar.gz
upstream-db2352a922cbbe94f258a2e91d82fd7ec7fda822.tar.bz2
upstream-db2352a922cbbe94f258a2e91d82fd7ec7fda822.zip
madwifi: ap+sta race conditions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13208 3c298f89-4303-0410-b956-a3cf2f4a3e73
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}"
}