]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtlwifi: use work for lps
authorStanislaw Gruszka <sgruszka@redhat.com>
Mon, 12 Dec 2011 11:43:23 +0000 (12:43 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 Dec 2011 20:34:02 +0000 (15:34 -0500)
commit41affd5286fb91176eb99b34ecd8eb522ba22369
tree8a2230e80e6d1aaa55c6db36764cdf8d8628e397
parent49d55cef5b1925a5c1efb6aaddaa40fc7c693335
rtlwifi: use work for lps

Leaving leisure power save mode can take some time, so it's better to
perform that action in process context with interrupts enabled. This
patch changes lps_leave tasklet to work.

Reported-by: Philipp Dreimann <philipp@dreimann.net>
Tested-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Mike McCormack <mikem@ring3k.org>
Cc: Chaoming Li <chaoming_li@realsil.com.cn>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/pci.c
drivers/net/wireless/rtlwifi/wifi.h