aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-02-28 19:05:32 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-02-28 19:05:32 +0000
commit0c2d614860d022d2f254ec48545f2651ca28a5d0 (patch)
tree1525da4054bad0c92b6864a9ad7a7590ebb72087
parentbbb7e33b6f638cc53548530ca042095244cceb78 (diff)
downloadupstream-0c2d614860d022d2f254ec48545f2651ca28a5d0.tar.gz
upstream-0c2d614860d022d2f254ec48545f2651ca28a5d0.tar.bz2
upstream-0c2d614860d022d2f254ec48545f2651ca28a5d0.zip
mac80211: fix essid setting for ad-hoc (thx, stintel)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19916 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/mac80211/files/lib/wifi/mac80211.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh
index 87f7d29daa..dd77f79648 100644
--- a/package/mac80211/files/lib/wifi/mac80211.sh
+++ b/package/mac80211/files/lib/wifi/mac80211.sh
@@ -356,7 +356,7 @@ enable_mac80211() {
case "$mode" in
adhoc)
config_get bssid "$vif" bssid
- config_get bssid "$vif" ssid
+ config_get ssid "$vif" ssid
iw dev "$ifname" ibss join "$ssid" $freq ${fixed:+fixed-freq} $bssid
;;
sta)