diff options
author | Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr> | 2011-03-17 07:23:23 +0000 |
---|---|---|
committer | Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr> | 2011-03-17 07:23:23 +0000 |
commit | 422878624303e73fb3201b637847bfa4bd93dbf9 (patch) | |
tree | 6d43453410e003a2c343ddd0174a4a16ded59c21 | |
parent | e8b720767eb35ae20510deee20a919bd2965ab7c (diff) | |
download | upstream-422878624303e73fb3201b637847bfa4bd93dbf9.tar.gz upstream-422878624303e73fb3201b637847bfa4bd93dbf9.tar.bz2 upstream-422878624303e73fb3201b637847bfa4bd93dbf9.zip |
[package] hostap-driver: Use 'any' for unspecified SSIDs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26200 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-x | package/hostap-driver/files/lib/wifi/hostap.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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) |