broadcom-wl: eliminate 'invalid command' when setting ssid
authorHauke Mehrtens <hauke@hauke-m.de>
Mon, 11 Nov 2013 22:01:32 +0000 (22:01 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 11 Nov 2013 22:01:32 +0000 (22:01 +0000)
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38756

package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh

index 17fa80fc98e2df73db5057a0c9a957fcfc94cc03..0dd25a39b319a6f70eca56dd866ccd6448ada68b 100644 (file)
@@ -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"