diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2013-11-11 22:01:32 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2013-11-11 22:01:32 +0000 |
commit | 5e7044815722fdab48463f31f5f0249513c86171 (patch) | |
tree | 2a95da8313eb3d7b0164e17061b313904ff4d2ca | |
parent | 9dda33e2e2657ad893dee78e16f35740ae547be4 (diff) | |
download | upstream-5e7044815722fdab48463f31f5f0249513c86171.tar.gz upstream-5e7044815722fdab48463f31f5f0249513c86171.tar.bz2 upstream-5e7044815722fdab48463f31f5f0249513c86171.zip |
broadcom-wl: eliminate 'invalid command' when setting ssid
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38756 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh | 3 |
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" |