mac80211: apply network interface configuration for adhoc + wpa2
[openwrt/staging/mkresin.git] / 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
                                }