summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLarry Finger2011-05-24 03:38:52 +0200
committerJohn W. Linville2011-06-01 21:19:02 +0200
commit049436b9804394e4d6caf7da5f3507bd8f4caa6e (patch)
tree9e2b6adf0abb93145e54529c2be445becfcd03e8 /drivers
parentrtlwifi: rtl8192se: Use write barrier when assigning ownership (diff)
downloadkernel-qcow2-linux-049436b9804394e4d6caf7da5f3507bd8f4caa6e.tar.gz
kernel-qcow2-linux-049436b9804394e4d6caf7da5f3507bd8f4caa6e.tar.xz
kernel-qcow2-linux-049436b9804394e4d6caf7da5f3507bd8f4caa6e.zip
rtlwifi: rtl8192se: Synchronize IRQ after disabling it
As suggested by Mike McCormack <mikem@ring3k.org> for rtl8192ce, make sure any IRQ handlers running on other CPUs complete. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/rtlwifi/rtl8192se/hw.c1
1 files changed, 1 insertions, 0 deletions
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);
}