summaryrefslogtreecommitdiff
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
parent3d8f2020503b3cf77a3fdb98ab2e53755bffb53a (diff)
downloadmtk-20170518-c7e3690e0e529c1996bf6ea81a680a11e73069af.zip
mtk-20170518-c7e3690e0e529c1996bf6ea81a680a11e73069af.tar.gz
mtk-20170518-c7e3690e0e529c1996bf6ea81a680a11e73069af.tar.bz2
Always escape essid Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
SVN-Revision: 16222
-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 1f43b2a..cacc3ba 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)