summaryrefslogtreecommitdiff
path: root/package/hostap-driver/files
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 /package/hostap-driver/files
parentdf0f9d6dcca11e3f6fe98464f01da853da02c25f (diff)
downloadmtk-20170518-471fe6ac5ca402ca7a5ead855b0afac6b96ee990.zip
mtk-20170518-471fe6ac5ca402ca7a5ead855b0afac6b96ee990.tar.gz
mtk-20170518-471fe6ac5ca402ca7a5ead855b0afac6b96ee990.tar.bz2
hostap-driver: Use 'any' for unspecified SSIDs
SVN-Revision: 26200
Diffstat (limited to 'package/hostap-driver/files')
-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 3de5b04..9d19453 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)