From 5834ee619f95229e67e11b1cc5002ba6db7d59da Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 28 Feb 2010 19:05:32 +0000 Subject: [PATCH] mac80211: fix essid setting for ad-hoc (thx, stintel) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19916 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/mac80211/files/lib/wifi/mac80211.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh index 87f7d29da..dd77f7964 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)