diff options
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -799,11 +799,11 @@ static void mwl_remove(struct pci_dev *pdev) priv = hw->priv; mwl_wl_deinit(priv); - pci_set_drvdata(pdev, NULL); #ifdef CONFIG_DEBUG_FS mwl_debugfs_remove(hw); #endif ieee80211_free_hw(hw); + pci_set_drvdata(pdev, NULL); pci_disable_device(pdev); } |