diff options
author | acinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-03-17 07:23:23 +0000 |
---|---|---|
committer | acinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-03-17 07:23:23 +0000 |
commit | 623478b8a0b22c294ea3d9bd6823882bab980153 (patch) | |
tree | 6d43453410e003a2c343ddd0174a4a16ded59c21 /package/hostap-driver/files/lib/wifi | |
parent | 44c312a5163e84dc9daf92b4ded4b4b7e430527b (diff) |
[package] hostap-driver: Use 'any' for unspecified SSIDs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26200 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/hostap-driver/files/lib/wifi')
-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 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) |