diff options
author | Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr> | 2011-04-05 15:09:38 +0000 |
---|---|---|
committer | Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr> | 2011-04-05 15:09:38 +0000 |
commit | ccb4fafc583cfdf09625e4ed697f324138bd579d (patch) | |
tree | 46c80c43d113cecab3b619181fc67d767132b6a7 | |
parent | 773893dc0ffd2d66e658fa0d06deee49abd31ea0 (diff) | |
download | upstream-ccb4fafc583cfdf09625e4ed697f324138bd579d.tar.gz upstream-ccb4fafc583cfdf09625e4ed697f324138bd579d.tar.bz2 upstream-ccb4fafc583cfdf09625e4ed697f324138bd579d.zip |
[packages] madwifi: Always escape SSID parameter
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26484 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-x | package/madwifi/files/lib/wifi/madwifi.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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" |