aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi
diff options
context:
space:
mode:
authorVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>2011-04-05 15:09:38 +0000
committerVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>2011-04-05 15:09:38 +0000
commitccb4fafc583cfdf09625e4ed697f324138bd579d (patch)
tree46c80c43d113cecab3b619181fc67d767132b6a7 /package/madwifi
parent773893dc0ffd2d66e658fa0d06deee49abd31ea0 (diff)
downloadmaster-187ad058-ccb4fafc583cfdf09625e4ed697f324138bd579d.tar.gz
master-187ad058-ccb4fafc583cfdf09625e4ed697f324138bd579d.tar.bz2
master-187ad058-ccb4fafc583cfdf09625e4ed697f324138bd579d.zip
[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')
-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"