mac80211: apply network interface configuration for adhoc + wpa2
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 7 Jan 2013 21:12:33 +0000 (21:12 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 7 Jan 2013 21:12:33 +0000 (21:12 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35049 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

index 19b157e..a239935 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
                                }