mac80211: apply network interface configuration for adhoc + wpa2
authorFelix Fietkau <nbd@openwrt.org>
Mon, 7 Jan 2013 21:12:46 +0000 (21:12 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 7 Jan 2013 21:12:46 +0000 (21:12 +0000)
Backport of r35049

SVN-Revision: 35050

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

index 1b0bea70ed78109f38bfc0c6e0e9f0980e61984b..db132af735aef11203428e832a7a6e51c8f675cd 100644 (file)
@@ -462,7 +462,7 @@ enable_mac80211() {
                                                        # make sure this wifi interface won't accidentally stay open without encryption
                                                        ifconfig "$ifname" down
                                                }
-                                               # wpa_supplicant will bring the iface up
+                                               mac80211_start_vif "$vif" "$ifname"
                                                continue
                                        fi
                                }