aboutsummaryrefslogtreecommitdiffstats
path: root/package/hostap-driver/files/lib/wifi/hostap.sh
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
commitc7e3690e0e529c1996bf6ea81a680a11e73069af (patch)
treec633828ce48aeb98f4894535368519c3e309d3db /package/hostap-driver/files/lib/wifi/hostap.sh
parent3d8f2020503b3cf77a3fdb98ab2e53755bffb53a (diff)
downloadupstream-c7e3690e0e529c1996bf6ea81a680a11e73069af.tar.gz
upstream-c7e3690e0e529c1996bf6ea81a680a11e73069af.tar.bz2
upstream-c7e3690e0e529c1996bf6ea81a680a11e73069af.zip
Always escape essid Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
SVN-Revision: 16222
Diffstat (limited to 'package/hostap-driver/files/lib/wifi/hostap.sh')
-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)