From: Hauke Mehrtens Date: Mon, 11 Nov 2013 22:01:32 +0000 (+0000) Subject: broadcom-wl: eliminate 'invalid command' when setting ssid X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=39e1c5cdc6bc0e9baee817cc7be24952c06b8471;p=openwrt%2Fsvn-archive%2Farchive.git broadcom-wl: eliminate 'invalid command' when setting ssid Signed-off-by: Nathan Hintz SVN-Revision: 38756 --- 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"