From: Larry Finger Date: Tue, 24 May 2011 01:38:52 +0000 (-0500) Subject: rtlwifi: rtl8192se: Synchronize IRQ after disabling it X-Git-Tag: v3.12-rc1~4755^2~12^2~42^2~540 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=049436b9804394e4d6caf7da5f3507bd8f4caa6e;p=kernel%2Fkernel-generic.git rtlwifi: rtl8192se: Synchronize IRQ after disabling it As suggested by Mike McCormack for rtl8192ce, make sure any IRQ handlers running on other CPUs complete. Signed-off-by: Larry Finger Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/rtlwifi/rtl8192se/hw.c b/drivers/net/wireless/rtlwifi/rtl8192se/hw.c index 6ff0cac..35dd12d 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192se/hw.c +++ b/drivers/net/wireless/rtlwifi/rtl8192se/hw.c @@ -1226,6 +1226,7 @@ void rtl92se_disable_interrupt(struct ieee80211_hw *hw) rtl_write_dword(rtlpriv, INTA_MASK + 4, 0); rtlpci->irq_enabled = false; + synchronize_irq(rtlpci->pdev->irq); }