From: Vasilis Tsiligiannis Date: Thu, 17 Mar 2011 07:23:23 +0000 (+0000) Subject: [package] hostap-driver: Use 'any' for unspecified SSIDs X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7f59d34fb0127f8e878cc7118138758d3d9a0df4;p=openwrt%2Fsvn-archive%2Farchive.git [package] 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)