aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJoerg Albert <jal2@gmx.de>2009-04-17 20:10:45 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-04-20 16:36:26 -0400
commit230f7af0d8f6f2019e64920378b3b66e7d3e99a5 (patch)
treea463aec9e16b59ebe1357de8ff5f72e8851cd9ce /drivers
parentc3b93c878d7912a01467890bc0785071c2dc4bc1 (diff)
mwl8k: fix module re-insertion bug
swap mwl8k_remove and mwl8k_shutdown functions to allow "rmmod mwl8k; modprobe mwl8k" Signed-off-by: Joerg Albert <jal2@gmx.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/mwl8k.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/mwl8k.c b/drivers/net/wireless/mwl8k.c
index 57a0268d1bae..b5dbf6d9e517 100644
--- a/drivers/net/wireless/mwl8k.c
+++ b/drivers/net/wireless/mwl8k.c
@@ -3720,12 +3720,12 @@ err_free_reg:
3720 return rc; 3720 return rc;
3721} 3721}
3722 3722
3723static void __devexit mwl8k_remove(struct pci_dev *pdev) 3723static void __devexit mwl8k_shutdown(struct pci_dev *pdev)
3724{ 3724{
3725 printk(KERN_ERR "===>%s(%u)\n", __func__, __LINE__); 3725 printk(KERN_ERR "===>%s(%u)\n", __func__, __LINE__);
3726} 3726}
3727 3727
3728static void __devexit mwl8k_shutdown(struct pci_dev *pdev) 3728static void __devexit mwl8k_remove(struct pci_dev *pdev)
3729{ 3729{
3730 struct ieee80211_hw *hw = pci_get_drvdata(pdev); 3730 struct ieee80211_hw *hw = pci_get_drvdata(pdev);
3731 struct mwl8k_priv *priv; 3731 struct mwl8k_priv *priv;