mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 06:43:43 +02:00
[package] madwifi: don't try to set an interface essid with an empty value
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15886 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
5441e7e9d6
commit
9bf1cfd44b
@ -300,8 +300,10 @@ enable_atheros() {
|
||||
config_set "$vif" bridge "$bridge"
|
||||
start_net "$ifname" "$net_cfg"
|
||||
}
|
||||
[ -n "$ssid" ] && iwconfig "$ifname" essid on
|
||||
[ -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 New Issue
Block a user