rtlwifi: use work for lps
authorStanislaw Gruszka <[email protected]>
Mon, 12 Dec 2011 11:43:23 +0000 (12:43 +0100)
committerJohn W. Linville <[email protected]>
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 <[email protected]>
Tested-by: Larry Finger <[email protected]>
Cc: Mike McCormack <[email protected]>
Cc: Chaoming Li <[email protected]>
Signed-off-by: Stanislaw Gruszka <[email protected]>
Signed-off-by: Larry Finger <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
drivers/net/wireless/rtlwifi/pci.c
drivers/net/wireless/rtlwifi/wifi.h