|
@@ -357,6 +357,11 @@ static void hostapd_cleanup(struct hostapd_data *hapd)
|
|
|
static void hostapd_cleanup_iface_partial(struct hostapd_iface *iface)
|
|
|
{
|
|
|
wpa_printf(MSG_DEBUG, "%s(%p)", __func__, iface);
|
|
|
+#ifdef CONFIG_IEEE80211N
|
|
|
+#ifdef NEED_AP_MLME
|
|
|
+ hostapd_stop_setup_timers(iface);
|
|
|
+#endif /* NEED_AP_MLME */
|
|
|
+#endif /* CONFIG_IEEE80211N */
|
|
|
hostapd_free_hw_features(iface->hw_features, iface->num_hw_features);
|
|
|
iface->hw_features = NULL;
|
|
|
os_free(iface->current_rates);
|