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