mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
sync with tx queue patch api changes
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
@@ -201,7 +201,8 @@ mt76_txq_send_burst(struct mt76_dev *dev, struct mt76_queue *hwq,
|
||||
wcid = &mvif->group_wcid;
|
||||
}
|
||||
|
||||
if (ieee80211_tx_dequeue(dev->hw, txq, &skb)) {
|
||||
skb = ieee80211_tx_dequeue(dev->hw, txq);
|
||||
if (IS_ERR_OR_NULL(skb)) {
|
||||
*empty = true;
|
||||
return 0;
|
||||
}
|
||||
@@ -226,7 +227,8 @@ mt76_txq_send_burst(struct mt76_dev *dev, struct mt76_queue *hwq,
|
||||
if (probe)
|
||||
break;
|
||||
|
||||
if (ieee80211_tx_dequeue(dev->hw, txq, &skb)) {
|
||||
skb = ieee80211_tx_dequeue(dev->hw, txq);
|
||||
if (IS_ERR_OR_NULL(skb)) {
|
||||
*empty = true;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user