[package] hostap-driver: Use 'any' for unspecified SSIDs
authoracinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 17 Mar 2011 07:23:23 +0000 (07:23 +0000)
committeracinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 17 Mar 2011 07:23:23 +0000 (07:23 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26200 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

index 3de5b04..9d19453 100755 (executable)
@@ -112,7 +112,7 @@ enable_prism2() {
                config_get ssid "$vif" ssid
                config_get mode "$vif" mode
 
                config_get ssid "$vif" ssid
                config_get mode "$vif" mode
 
-               [ "$mode" = "wds" ] || iwconfig "$phy" essid -- "$ssid"
+               [ "$mode" = "wds" ] || iwconfig "$phy" essid ${ssid:+-- }"${ssid:-any}"
 
                case "$mode" in
                        sta)
 
                case "$mode" in
                        sta)
This page took 0.020358 seconds and 4 git commands to generate.