mt7603: unregister device on remove

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2015-12-08 15:35:32 +01:00
parent 302db9bb94
commit eb5f24c835
+1
View File
@@ -74,6 +74,7 @@ mt76pci_remove(struct pci_dev *pdev)
{
struct mt7603_dev *dev = pci_get_drvdata(pdev);
ieee80211_unregister_hw(mt76_hw(dev));
mt7603_dma_cleanup(dev);
ieee80211_free_hw(mt76_hw(dev));
}