aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/broadcom-wl/files/lib
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-11-11 22:01:32 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2013-11-11 22:01:32 +0000
commit4ba2f2f7318837f6beaa4b5472b272f6f092254c (patch)
tree6c71b87419f6241a17dd98a625e0827b8b96b83f /package/kernel/broadcom-wl/files/lib
parent5b4c8c4cc810afc94a11b8741ad4dddc71cfe945 (diff)
downloadupstream-4ba2f2f7318837f6beaa4b5472b272f6f092254c.tar.gz
upstream-4ba2f2f7318837f6beaa4b5472b272f6f092254c.tar.bz2
upstream-4ba2f2f7318837f6beaa4b5472b272f6f092254c.zip
broadcom-wl: eliminate 'invalid command' when setting ssid
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 38756
Diffstat (limited to 'package/kernel/broadcom-wl/files/lib')
-rw-r--r--package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh b/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh
index 17fa80fc98..0dd25a39b3 100644
--- a/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh
+++ b/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh
@@ -319,8 +319,7 @@ enable_broadcom() {
local ssid
config_get ssid "$vif" ssid
append vif_post_up "vlan_mode 0" "$N"
- append vif_post_up "ssid $ssid" "$N"
- append vif_do_up "ssid $ssid" "$N"
+ append vif_pre_up "ssid $ssid" "$N"
[ "$mode" = "monitor" ] && {
append vif_post_up "monitor $monitor" "$N"