]> git.ipfire.org Git - thirdparty/kernel/stable.git/blobdiff - drivers/net/wireless/mediatek/mt76/mac80211.c
mt76: avoid queue/status spinlocks while passing tx status to mac80211
[thirdparty/kernel/stable.git] / drivers / net / wireless / mediatek / mt76 / mac80211.c
index 85e05a825b5d760354007179635258d5ce9920d9..3be73b021d277e97213d5ea62a6589735c172e60 100644 (file)
@@ -359,7 +359,7 @@ void mt76_unregister_device(struct mt76_dev *dev)
 {
        struct ieee80211_hw *hw = dev->hw;
 
-       mt76_tx_status_flush(dev, NULL);
+       mt76_tx_status_check(dev, NULL, true);
        ieee80211_unregister_hw(hw);
        mt76_tx_free(dev);
 }