mac80211: apply network interface configuration for adhoc + wpa2
authorFelix Fietkau <nbd@openwrt.org>
Mon, 7 Jan 2013 21:12:33 +0000 (21:12 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 7 Jan 2013 21:12:33 +0000 (21:12 +0000)
SVN-Revision: 35049

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

index 19b157e12dbab11c4178d5494bd82ca2158a142e..a2399357c1835c13e7daa1a413d9a9dedfe4e074 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
                                }