diff options
author | Joerg Albert <jal2@gmx.de> | 2009-04-17 20:10:45 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-04-20 16:36:26 -0400 |
commit | 230f7af0d8f6f2019e64920378b3b66e7d3e99a5 (patch) | |
tree | a463aec9e16b59ebe1357de8ff5f72e8851cd9ce /drivers/net | |
parent | c3b93c878d7912a01467890bc0785071c2dc4bc1 (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/net')
-rw-r--r-- | drivers/net/wireless/mwl8k.c | 4 |
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 | ||
3723 | static void __devexit mwl8k_remove(struct pci_dev *pdev) | 3723 | static 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 | ||
3728 | static void __devexit mwl8k_shutdown(struct pci_dev *pdev) | 3728 | static 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; |