From: acinonyx Date: Thu, 17 Mar 2011 07:23:23 +0000 (+0000) Subject: [package] hostap-driver: Use 'any' for unspecified SSIDs X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/623478b8a0b22c294ea3d9bd6823882bab980153?hp=44c312a5163e84dc9daf92b4ded4b4b7e430527b [package] hostap-driver: Use 'any' for unspecified SSIDs git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26200 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/hostap-driver/files/lib/wifi/hostap.sh b/package/hostap-driver/files/lib/wifi/hostap.sh index 3de5b04a0..9d1945381 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)