broadcom-wl: eliminate 'invalid command' when setting ssid

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 38756
This commit is contained in:
Hauke Mehrtens 2013-11-11 22:01:32 +00:00
parent 5b4c8c4cc8
commit 4ba2f2f731

View 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"