mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76x2: fix txwi leak on cleanup
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+1
-1
@@ -85,7 +85,7 @@ mt76pci_remove(struct pci_dev *pdev)
|
||||
struct mt76_dev *mdev = pci_get_drvdata(pdev);
|
||||
struct mt76x2_dev *dev = container_of(mdev, struct mt76x2_dev, mt76);
|
||||
|
||||
ieee80211_unregister_hw(mdev->hw);
|
||||
mt76_unregister_device(mdev);
|
||||
mt76x2_cleanup(dev);
|
||||
ieee80211_free_hw(mdev->hw);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user