From: Vasilis Tsiligiannis Date: Tue, 5 Apr 2011 15:09:38 +0000 (+0000) Subject: [packages] madwifi: Always escape SSID parameter X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f8e2fb9f01f7a7f081855a5ea52c37bbe280c2b7;p=openwrt%2Fsvn-archive%2Farchive.git [packages] madwifi: Always escape SSID parameter SVN-Revision: 26484 --- diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index 21a5cf7434..1f22b70af4 100755 --- a/package/madwifi/files/lib/wifi/madwifi.sh +++ b/package/madwifi/files/lib/wifi/madwifi.sh @@ -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"