mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
tx: free txq skbs without holding the hw queue lock
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
@@ -478,9 +478,8 @@ void mt76_txq_remove(struct mt76_dev *dev, struct ieee80211_txq *txq)
|
||||
spin_lock_bh(&hwq->lock);
|
||||
if (!list_empty(&mtxq->list))
|
||||
list_del(&mtxq->list);
|
||||
spin_unlock_bh(&hwq->lock);
|
||||
|
||||
while ((skb = skb_dequeue(&mtxq->retry_q)) != NULL)
|
||||
ieee80211_free_txskb(dev->hw, skb);
|
||||
|
||||
spin_unlock_bh(&hwq->lock);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user