summaryrefslogtreecommitdiffstats
path: root/package/madwifi/files/lib/wifi
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-05-21 06:34:05 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-05-21 06:34:05 +0000
commitc68d3da2985aad2a7dc7a2376071d0516d519440 (patch)
treeb86152431c9689194062411f0ae6cc8eb32a6385 /package/madwifi/files/lib/wifi
parent7f93038dad7c0432a86a23fe87a94c8f3c6d0856 (diff)
fix essid setting in adhoc mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7301 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/files/lib/wifi')
-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 9d539a08b..e24730f90 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