Previously, a connected STA/AP could send us some AMPDUs right after recovery, without the driver knowing anything about it. Signed-off-by: Arik Nemtsov <arik@xxxxxxxxxx> --- net/mac80211/util.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/net/mac80211/util.c b/net/mac80211/util.c index 242ecde..a041f20 100644 --- a/net/mac80211/util.c +++ b/net/mac80211/util.c @@ -1411,9 +1411,6 @@ int ieee80211_reconfig(struct ieee80211_local *local) if (ieee80211_sdata_running(sdata)) ieee80211_enable_keys(sdata); - local->in_reconfig = false; - barrier(); - wake_up: /* * Clear the WLAN_STA_BLOCK_BA flag so new aggregation @@ -1436,6 +1433,8 @@ int ieee80211_reconfig(struct ieee80211_local *local) mutex_unlock(&local->sta_mtx); } + local->in_reconfig = false; + ieee80211_wake_queues_by_reason(hw, IEEE80211_QUEUE_STOP_REASON_SUSPEND); -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html