From: Vasilis Tsiligiannis Date: Tue, 5 Apr 2011 15:09:38 +0000 (+0000) Subject: madwifi: Always escape SSID parameter X-Git-Tag: reboot~17011 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3549fb214f09a6dbcb8368238164a01526a0aa82;p=oweals%2Fopenwrt.git 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"