mt76x2: fix txwi leak on cleanup

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2016-03-03 22:10:28 +01:00
parent 4994946a29
commit 310d420178
+1 -1
View File
@@ -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);
}