wifi: mt76: move ampdu_state in mt76_wcid
[linux-2.6-microblaze.git] / drivers / net / wireless / mediatek / mt76 / mt7921 / mac.c
index c00342e..3e58974 100644 (file)
@@ -531,7 +531,7 @@ static void mt7921_tx_check_aggr(struct ieee80211_sta *sta, __le32 *txwi)
                return;
 
        msta = (struct mt7921_sta *)sta->drv_priv;
-       if (!test_and_set_bit(tid, &msta->ampdu_state))
+       if (!test_and_set_bit(tid, &msta->wcid.ampdu_state))
                ieee80211_start_tx_ba_session(sta, tid, 0);
 }