[PATCH] [hostap-driver] Always escape essid
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 30 May 2009 22:45:50 +0000 (22:45 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 30 May 2009 22:45:50 +0000 (22:45 +0000)
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16222 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

index 1f43b2a..cacc3ba 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)
This page took 0.025472 seconds and 4 git commands to generate.