mirror of https://github.com/hak5/openwrt-owl.git
broadcom-wl: eliminate 'invalid command' when setting ssid
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 38756owl
parent
5b4c8c4cc8
commit
4ba2f2f731
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue