Always escape essid Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 30 May 2009 22:45:50 +0000 (22:45 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 30 May 2009 22:45:50 +0000 (22:45 +0000)
SVN-Revision: 16222

package/hostap-driver/files/lib/wifi/hostap.sh

index 1f43b2ab1b23a591ae20d17d1c4cd53c8c92d87c..cacc3baa8b75eade31ccee212d5cca51019412c2 100755 (executable)
@@ -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)