mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
Revert "mt76: mt76x02: send no-skb tx status without holding the status lock"
This reverts commit 4d8c7e8284.
To be replaced by upstream fix
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+1
-6
@@ -469,7 +469,6 @@ void mt76x02_send_tx_status(struct mt76x02_dev *dev,
|
||||
struct mt76x02_sta *msta = NULL;
|
||||
struct mt76_dev *mdev = &dev->mt76;
|
||||
struct sk_buff_head list;
|
||||
bool status_noskb = false;
|
||||
|
||||
if (stat->pktid == MT_PACKET_ID_NO_ACK)
|
||||
return;
|
||||
@@ -524,14 +523,10 @@ void mt76x02_send_tx_status(struct mt76x02_dev *dev,
|
||||
if (status.skb)
|
||||
mt76_tx_status_skb_done(mdev, status.skb, &list);
|
||||
else
|
||||
status_noskb = true;
|
||||
ieee80211_tx_status_ext(mt76_hw(dev), &status);
|
||||
|
||||
out:
|
||||
mt76_tx_status_unlock(mdev, &list);
|
||||
|
||||
if (status_noskb)
|
||||
ieee80211_tx_status_ext(mt76_hw(dev), &status);
|
||||
|
||||
rcu_read_unlock();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user