aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/files/lib/wifi
diff options
context:
space:
mode:
authorVasilis Tsiligiannis <acinonyx@openwrt.gr>2011-04-05 15:09:38 +0000
committerVasilis Tsiligiannis <acinonyx@openwrt.gr>2011-04-05 15:09:38 +0000
commit3549fb214f09a6dbcb8368238164a01526a0aa82 (patch)
tree7762c5255b7f51826ad4fda32b013297f037b204 /package/madwifi/files/lib/wifi
parent48465d3d6367e6caf3ad211207af1942919b2e59 (diff)
downloadupstream-3549fb214f09a6dbcb8368238164a01526a0aa82.tar.gz
upstream-3549fb214f09a6dbcb8368238164a01526a0aa82.tar.bz2
upstream-3549fb214f09a6dbcb8368238164a01526a0aa82.zip
madwifi: Always escape SSID parameter
SVN-Revision: 26484
Diffstat (limited to 'package/madwifi/files/lib/wifi')
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh2
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"