summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorMike McCormack <mikem@ring3k.org>2011-05-31 01:48:23 +0200
committerJohn W. Linville <linville@tuxdriver.com>2011-06-03 20:57:32 +0200
commit2e69167c32780b2228f294505d5bf742494c960f (patch)
tree5528425eced27dfa48f6846523e0ceeb38f95392 /drivers/net/wireless
parentiwlagn: fix interface combinations (diff)
downloadlinux-2e69167c32780b2228f294505d5bf742494c960f.tar.xz
linux-2e69167c32780b2228f294505d5bf742494c960f.zip
rtlwifi: Synchronize IRQ after disabling it
This make sure any IRQ handlers running on other CPUs complete. Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/rtlwifi/rtl8192ce/hw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192ce/hw.c b/drivers/net/wireless/rtlwifi/rtl8192ce/hw.c
index d5d3c8a572c7..944f55e9d316 100644
--- a/drivers/net/wireless/rtlwifi/rtl8192ce/hw.c
+++ b/drivers/net/wireless/rtlwifi/rtl8192ce/hw.c
@@ -1194,6 +1194,7 @@ void rtl92ce_disable_interrupt(struct ieee80211_hw *hw)
rtl_write_dword(rtlpriv, REG_HIMR, IMR8190_DISABLED);
rtl_write_dword(rtlpriv, REG_HIMRE, IMR8190_DISABLED);
rtlpci->irq_enabled = false;
+ synchronize_irq(rtlpci->pdev->irq);
}
static void _rtl92ce_poweroff_adapter(struct ieee80211_hw *hw)