diff options
Diffstat (limited to 'net/mac80211/tx.c')
-rw-r--r-- | net/mac80211/tx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index c9f12113ca6a..6eeaaa2bbafe 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c | |||
@@ -1147,7 +1147,7 @@ static bool ieee80211_tx_prep_agg(struct ieee80211_tx_data *tx, | |||
1147 | * packet pass through because splicing the frames | 1147 | * packet pass through because splicing the frames |
1148 | * back is already done. | 1148 | * back is already done. |
1149 | */ | 1149 | */ |
1150 | tid_tx = tx->sta->ampdu_mlme.tid_tx[tid]; | 1150 | tid_tx = rcu_dereference_protected_tid_tx(tx->sta, tid); |
1151 | 1151 | ||
1152 | if (!tid_tx) { | 1152 | if (!tid_tx) { |
1153 | /* do nothing, let packet pass through */ | 1153 | /* do nothing, let packet pass through */ |