diff options
author | Vasilis Tsiligiannis <acinonyx@openwrt.gr> | 2011-04-05 15:09:38 +0000 |
---|---|---|
committer | Vasilis Tsiligiannis <acinonyx@openwrt.gr> | 2011-04-05 15:09:38 +0000 |
commit | 3549fb214f09a6dbcb8368238164a01526a0aa82 (patch) | |
tree | 7762c5255b7f51826ad4fda32b013297f037b204 /package/madwifi/files/lib | |
parent | 48465d3d6367e6caf3ad211207af1942919b2e59 (diff) | |
download | master-31e0f0ae-3549fb214f09a6dbcb8368238164a01526a0aa82.tar.gz master-31e0f0ae-3549fb214f09a6dbcb8368238164a01526a0aa82.tar.bz2 master-31e0f0ae-3549fb214f09a6dbcb8368238164a01526a0aa82.zip |
madwifi: Always escape SSID parameter
SVN-Revision: 26484
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 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" |