aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi
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
commit12fcc529af8de0ca039308ab5215b665b6ab800c (patch)
treeb86152431c9689194062411f0ae6cc8eb32a6385 /package/madwifi
parentec7bfb90b57c01bd740fa3254493136889935746 (diff)
downloadupstream-12fcc529af8de0ca039308ab5215b665b6ab800c.tar.gz
upstream-12fcc529af8de0ca039308ab5215b665b6ab800c.tar.bz2
upstream-12fcc529af8de0ca039308ab5215b665b6ab800c.zip
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')
-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 9d539a08b0..e24730f905 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