madwifi: Always escape SSID parameter

SVN-Revision: 26484
This commit is contained in:
Vasilis Tsiligiannis 2011-04-05 15:09:38 +00:00
parent 48465d3d63
commit 3549fb214f

View File

@ -366,7 +366,7 @@ enable_atheros() {
config_get ssid "$vif" ssid
[ -n "$ssid" ] && {
iwconfig "$ifname" essid on
iwconfig "$ifname" essid "$ssid"
iwconfig "$ifname" essid ${ssid:+-- }"$ssid"
}
set_wifi_up "$vif" "$ifname"