summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVasilis Tsiligiannis <acinonyx@openwrt.gr>2011-03-17 07:23:23 +0000
committerVasilis Tsiligiannis <acinonyx@openwrt.gr>2011-03-17 07:23:23 +0000
commit471fe6ac5ca402ca7a5ead855b0afac6b96ee990 (patch)
treee028d280318649b159b73996693fd5923ffe95eb
parentdf0f9d6dcca11e3f6fe98464f01da853da02c25f (diff)
downloadmaster-31e0f0ae-471fe6ac5ca402ca7a5ead855b0afac6b96ee990.tar.gz
master-31e0f0ae-471fe6ac5ca402ca7a5ead855b0afac6b96ee990.tar.bz2
master-31e0f0ae-471fe6ac5ca402ca7a5ead855b0afac6b96ee990.zip
hostap-driver: Use 'any' for unspecified SSIDs
SVN-Revision: 26200
-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)