[x86] Revert "Like the earlier mfgpt patch, the new GPIO drivers also require the...
[openwrt.git] / package / hostap-driver / files / lib / wifi / hostap.sh
index 3de5b04..820a2e7 100755 (executable)
@@ -112,7 +112,7 @@ enable_prism2() {
                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)
@@ -246,7 +246,6 @@ detect_prism2() {
                config_foreach check_prism2_device wifi-device
                [ "$found" -gt 0 ] && continue
                cat <<EOF
-
 config wifi-device radio$devidx
        option type     prism2
        option channel  11
This page took 0.026669 seconds and 4 git commands to generate.