mac80211: fix essid setting for ad-hoc (thx, stintel)
authorFelix Fietkau <nbd@openwrt.org>
Sun, 28 Feb 2010 19:05:32 +0000 (19:05 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 28 Feb 2010 19:05:32 +0000 (19:05 +0000)
SVN-Revision: 19916

package/mac80211/files/lib/wifi/mac80211.sh

index 87f7d29daad7c03ca80735feaaa8cb5d9da63c3f..dd77f79648ed604e5cc0539328207d30f1b56dbe 100644 (file)
@@ -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)