X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/44c312a5163e84dc9daf92b4ded4b4b7e430527b..7c8a20940f20bec8379726889960d8d7caaa1949:/package/hostap-driver/files/lib/wifi/hostap.sh?ds=inline diff --git a/package/hostap-driver/files/lib/wifi/hostap.sh b/package/hostap-driver/files/lib/wifi/hostap.sh index 3de5b04a0..820a2e786 100755 --- a/package/hostap-driver/files/lib/wifi/hostap.sh +++ b/package/hostap-driver/files/lib/wifi/hostap.sh @@ -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 <