summaryrefslogtreecommitdiff
path: root/package/madwifi
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
parent48465d3d6367e6caf3ad211207af1942919b2e59 (diff)
downloadmtk-20170518-3549fb214f09a6dbcb8368238164a01526a0aa82.zip
mtk-20170518-3549fb214f09a6dbcb8368238164a01526a0aa82.tar.gz
mtk-20170518-3549fb214f09a6dbcb8368238164a01526a0aa82.tar.bz2
madwifi: Always escape SSID parameter
SVN-Revision: 26484
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 21a5cf7..1f22b70 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"