aboutsummaryrefslogtreecommitdiffstats
path: root/package/hostap-driver/files
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-05-30 22:45:50 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-05-30 22:45:50 +0000
commit557cbbcac937187fc918708353ea2a6a6ac2d83f (patch)
tree15c36c7d0b8aa81934d4ba2a932425bfed3dc22b /package/hostap-driver/files
parent6bf655823820f331a78aa26c2bb2f586dc76e4cd (diff)
downloadupstream-557cbbcac937187fc918708353ea2a6a6ac2d83f.tar.gz
upstream-557cbbcac937187fc918708353ea2a6a6ac2d83f.tar.bz2
upstream-557cbbcac937187fc918708353ea2a6a6ac2d83f.zip
[PATCH] [hostap-driver] Always escape essid
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16222 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/hostap-driver/files')
-rwxr-xr-xpackage/hostap-driver/files/lib/wifi/hostap.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/hostap-driver/files/lib/wifi/hostap.sh b/package/hostap-driver/files/lib/wifi/hostap.sh
index 1f43b2ab1b..cacc3baa8b 100755
--- a/package/hostap-driver/files/lib/wifi/hostap.sh
+++ b/package/hostap-driver/files/lib/wifi/hostap.sh
@@ -72,7 +72,7 @@ enable_prism2() {
config_get ssid "$vif" ssid
config_get mode "$vif" mode
- [ "$mode" = "wds" ] || iwconfig "$device" essid "$ssid"
+ [ "$mode" = "wds" ] || iwconfig "$device" essid -- "$ssid"
case "$mode" in
sta)