From 4ba2f2f7318837f6beaa4b5472b272f6f092254c Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Mon, 11 Nov 2013 22:01:32 +0000 Subject: [PATCH] broadcom-wl: eliminate 'invalid command' when setting ssid Signed-off-by: Nathan Hintz SVN-Revision: 38756 --- package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh | 3 +-- 1 file changed, 1 insertion(+), 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 17fa80fc98e2..0dd25a39b319 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" -- 2.30.2