summaryrefslogtreecommitdiff
path: root/package/hostap-driver/files/lib
diff options
context:
space:
mode:
authoracinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-17 07:23:23 +0000
committeracinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-17 07:23:23 +0000
commit623478b8a0b22c294ea3d9bd6823882bab980153 (patch)
tree6d43453410e003a2c343ddd0174a4a16ded59c21 /package/hostap-driver/files/lib
parent44c312a5163e84dc9daf92b4ded4b4b7e430527b (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')
-rwxr-xr-xpackage/hostap-driver/files/lib/wifi/hostap.sh2
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)