diff options
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r-- | net/mac80211/mlme.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 1875181ebd94..5cce6055f3ae 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c | |||
@@ -2011,6 +2011,9 @@ static void ieee80211_set_disassoc(struct ieee80211_sub_if_data *sdata, | |||
2011 | /* disable per-vif ps */ | 2011 | /* disable per-vif ps */ |
2012 | ieee80211_recalc_ps_vif(sdata); | 2012 | ieee80211_recalc_ps_vif(sdata); |
2013 | 2013 | ||
2014 | /* make sure ongoing transmission finishes */ | ||
2015 | synchronize_net(); | ||
2016 | |||
2014 | /* | 2017 | /* |
2015 | * drop any frame before deauth/disassoc, this can be data or | 2018 | * drop any frame before deauth/disassoc, this can be data or |
2016 | * management frame. Since we are disconnecting, we should not | 2019 | * management frame. Since we are disconnecting, we should not |