mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: remove mt76_wcid pointer from mt76_tx_status_check signature
Remove mt76_wcid pointer from mt76_tx_status_check signature since it is always set to NULL Tested-by: [email protected] Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
f143aedc1d
commit
bcc8d9e03a
+1
-1
@@ -2026,7 +2026,7 @@ void mt7615_mac_work(struct work_struct *work)
|
||||
|
||||
mt7615_mutex_release(phy->dev);
|
||||
|
||||
mt76_tx_status_check(mphy->dev, NULL, false);
|
||||
mt76_tx_status_check(mphy->dev, false);
|
||||
|
||||
timeout = mt7615_get_macwork_timeout(phy->dev);
|
||||
ieee80211_queue_delayed_work(mphy->hw, &mphy->mac_work, timeout);
|
||||
|
||||
+1
-1
@@ -198,7 +198,7 @@ void mt7615_dma_reset(struct mt7615_dev *dev)
|
||||
mt76_for_each_q_rx(&dev->mt76, i)
|
||||
mt76_queue_rx_reset(dev, i);
|
||||
|
||||
mt76_tx_status_check(&dev->mt76, NULL, true);
|
||||
mt76_tx_status_check(&dev->mt76, true);
|
||||
|
||||
mt7615_dma_start(dev);
|
||||
}
|
||||
|
||||
+1
-1
@@ -432,7 +432,7 @@ static int mt7663s_suspend(struct device *dev)
|
||||
cancel_work_sync(&mdev->mt76.sdio.stat_work);
|
||||
clear_bit(MT76_READING_STATS, &mdev->mphy.state);
|
||||
|
||||
mt76_tx_status_check(&mdev->mt76, NULL, true);
|
||||
mt76_tx_status_check(&mdev->mt76, true);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user