summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Albert <jal2@gmx.de>2009-04-18 02:10:45 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-04-20 16:36:26 -0400
commit230f7af0d8f6f2019e64920378b3b66e7d3e99a5 (patch)
treea463aec9e16b59ebe1357de8ff5f72e8851cd9ce
parentc3b93c878d7912a01467890bc0785071c2dc4bc1 (diff)
downloadblackbird-op-linux-230f7af0d8f6f2019e64920378b3b66e7d3e99a5.tar.gz
blackbird-op-linux-230f7af0d8f6f2019e64920378b3b66e7d3e99a5.zip
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>
-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:
return rc;
}
-static void __devexit mwl8k_remove(struct pci_dev *pdev)
+static void __devexit mwl8k_shutdown(struct pci_dev *pdev)
{
printk(KERN_ERR "===>%s(%u)\n", __func__, __LINE__);
}
-static void __devexit mwl8k_shutdown(struct pci_dev *pdev)
+static void __devexit mwl8k_remove(struct pci_dev *pdev)
{
struct ieee80211_hw *hw = pci_get_drvdata(pdev);
struct mwl8k_priv *priv;
OpenPOWER on IntegriCloud