madwifi: don't try to set an interface essid with an empty value
SVN-Revision: 15886
This commit is contained in:
parent
bc152ef2c5
commit
b6bb23e3a8
1 changed files with 4 additions and 2 deletions
|
@ -300,8 +300,10 @@ enable_atheros() {
|
|||
config_set "$vif" bridge "$bridge"
|
||||
start_net "$ifname" "$net_cfg"
|
||||
}
|
||||
[ -n "$ssid" ] && iwconfig "$ifname" essid on
|
||||
iwconfig "$ifname" essid "$ssid"
|
||||
[ -n "$ssid" ] && {
|
||||
iwconfig "$ifname" essid on
|
||||
iwconfig "$ifname" essid "$ssid"
|
||||
}
|
||||
set_wifi_up "$vif" "$ifname"
|
||||
|
||||
# TXPower settings only work if device is up already
|
||||
|
|
Loading…
Reference in a new issue