X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/44c312a5163e84dc9daf92b4ded4b4b7e430527b..e9c2d71d9206568fa901119d1ed697915aa539f3:/package/hostap-driver/files/lib/wifi/hostap.sh 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 <