mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt7603: unregister device on remove
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user