summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/rtlwifi/ps.c
diff options
context:
space:
mode:
authorMike McCormack <mikem@ring3k.org>2011-05-31 03:49:23 +0400
committerJohn W. Linville <linville@tuxdriver.com>2011-06-03 22:57:33 +0400
commit67fc6052a49b781efbcfc138f3b68fe79ddd0c2f (patch)
treef4d4b5a1ac2dc2c304c2e87bca6917f6bdb08f1d /drivers/net/wireless/rtlwifi/ps.c
parent34ddb2077e5ced1a09a1dd2cbb82f807bfc5f88b (diff)
downloadlinux-67fc6052a49b781efbcfc138f3b68fe79ddd0c2f.tar.xz
rtlwifi: Run IPS leave work in a tasklet
This removes the need to use IRQ safe spinlocks in many places. 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/ps.c')
-rw-r--r--drivers/net/wireless/rtlwifi/ps.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/rtlwifi/ps.c b/drivers/net/wireless/rtlwifi/ps.c
index a73ffbe68ba4..fd3b04f0843f 100644
--- a/drivers/net/wireless/rtlwifi/ps.c
+++ b/drivers/net/wireless/rtlwifi/ps.c
@@ -68,6 +68,7 @@ bool rtl_ps_disable_nic(struct ieee80211_hw *hw)
/*<2> Disable Interrupt */
rtlpriv->cfg->ops->disable_interrupt(hw);
+ tasklet_kill(&rtlpriv->works.irq_tasklet);
/*<3> Disable Adapter */
rtlpriv->cfg->ops->hw_disable(hw);