[packages] madwifi: Always escape SSID parameter
authoracinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 5 Apr 2011 15:09:38 +0000 (15:09 +0000)
committeracinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 5 Apr 2011 15:09:38 +0000 (15:09 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26484 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/madwifi/files/lib/wifi/madwifi.sh

index 21a5cf7..1f22b70 100755 (executable)
@@ -366,7 +366,7 @@ enable_atheros() {
                config_get ssid "$vif" ssid
                [ -n "$ssid" ] && {
                        iwconfig "$ifname" essid on
-                       iwconfig "$ifname" essid "$ssid"
+                       iwconfig "$ifname" essid ${ssid:+-- }"$ssid"
                }
 
                set_wifi_up "$vif" "$ifname"
This page took 0.024991 seconds and 4 git commands to generate.