From: Larry Finger Date: Tue, 24 May 2011 01:38:52 +0000 (-0500) Subject: rtlwifi: rtl8192se: Synchronize IRQ after disabling it X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=049436b9804394e4d6caf7da5f3507bd8f4caa6e;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.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 6ff0caca9584..35dd12d0dcf3 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); }