From: Vasilis Tsiligiannis Date: Thu, 17 Mar 2011 07:23:23 +0000 (+0000) Subject: hostap-driver: Use 'any' for unspecified SSIDs X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=471fe6ac5ca402ca7a5ead855b0afac6b96ee990;p=openwrt%2Fstaging%2Fthess.git hostap-driver: Use 'any' for unspecified SSIDs SVN-Revision: 26200 --- diff --git a/package/hostap-driver/files/lib/wifi/hostap.sh b/package/hostap-driver/files/lib/wifi/hostap.sh index 3de5b04a00..9d19453819 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)