diff options
author | acinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-04-05 15:09:38 +0000 |
---|---|---|
committer | acinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-04-05 15:09:38 +0000 |
commit | 9975b770c81535b2e823a2b4b4bc1f6568720a3f (patch) | |
tree | 46c80c43d113cecab3b619181fc67d767132b6a7 /package/madwifi/files/lib | |
parent | fdf5c1815291ee7653eb0f7b7f8259617fb9de9b (diff) |
[packages] madwifi: Always escape SSID parameter
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26484 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/files/lib')
-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 21a5cf743..1f22b70af 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" |