summaryrefslogtreecommitdiff
path: root/package/madwifi/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-05-21 06:34:05 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-05-21 06:34:05 +0000
commitb2db4e7f092abbc344d9c6734bd6377b30ba1f68 (patch)
tree0735e71baa3b15a7528ada682867d689281ed47f /package/madwifi/files
parentd169d2d02af5bafaf176a614beee0ee3f73474e9 (diff)
downloadmtk-20170518-b2db4e7f092abbc344d9c6734bd6377b30ba1f68.zip
mtk-20170518-b2db4e7f092abbc344d9c6734bd6377b30ba1f68.tar.gz
mtk-20170518-b2db4e7f092abbc344d9c6734bd6377b30ba1f68.tar.bz2
fix essid setting in adhoc mode
SVN-Revision: 7301
Diffstat (limited to 'package/madwifi/files')
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh
index 9d539a0..e24730f 100755
--- a/package/madwifi/files/lib/wifi/madwifi.sh
+++ b/package/madwifi/files/lib/wifi/madwifi.sh
@@ -148,10 +148,8 @@ enable_atheros() {
iwconfig "$ifname" ap "$addr"
}
;;
- *)
- config_get ssid "$vif" ssid
- ;;
esac
+ config_get ssid "$vif" ssid
[ "$mode" = "sta" ] && {
config_get_bool bgscan "$vif" bgscan 1