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

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

SVN-Revision: 38756
owl
Hauke Mehrtens 2013-11-11 22:01:32 +00:00
parent 5b4c8c4cc8
commit 4ba2f2f731
1 changed files with 1 additions and 2 deletions

View File

@ -319,8 +319,7 @@ enable_broadcom() {
local ssid local ssid
config_get ssid "$vif" ssid config_get ssid "$vif" ssid
append vif_post_up "vlan_mode 0" "$N" append vif_post_up "vlan_mode 0" "$N"
append vif_post_up "ssid $ssid" "$N" append vif_pre_up "ssid $ssid" "$N"
append vif_do_up "ssid $ssid" "$N"
[ "$mode" = "monitor" ] && { [ "$mode" = "monitor" ] && {
append vif_post_up "monitor $monitor" "$N" append vif_post_up "monitor $monitor" "$N"