diff options
author | Mike McCormack <mikem@ring3k.org> | 2011-05-30 19:48:23 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-06-03 14:57:32 -0400 |
commit | 2e69167c32780b2228f294505d5bf742494c960f (patch) | |
tree | 5528425eced27dfa48f6846523e0ceeb38f95392 /drivers/net/wireless/rtlwifi/rtl8192ce | |
parent | f35490f909b7d535ff7f2f1a7df59be8c2824931 (diff) |
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/rtlwifi/rtl8192ce')
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8192ce/hw.c | 1 |
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) | |||
1194 | rtl_write_dword(rtlpriv, REG_HIMR, IMR8190_DISABLED); | 1194 | rtl_write_dword(rtlpriv, REG_HIMR, IMR8190_DISABLED); |
1195 | rtl_write_dword(rtlpriv, REG_HIMRE, IMR8190_DISABLED); | 1195 | rtl_write_dword(rtlpriv, REG_HIMRE, IMR8190_DISABLED); |
1196 | rtlpci->irq_enabled = false; | 1196 | rtlpci->irq_enabled = false; |
1197 | synchronize_irq(rtlpci->pdev->irq); | ||
1197 | } | 1198 | } |
1198 | 1199 | ||
1199 | static void _rtl92ce_poweroff_adapter(struct ieee80211_hw *hw) | 1200 | static void _rtl92ce_poweroff_adapter(struct ieee80211_hw *hw) |