linux/drivers/net/wireless/realtek
Larry Finger ba9f93f82a rtlwifi: Fix enter/exit power_save
In commit a5ffbe0a19 ("rtlwifi: Fix scheduling while atomic bug") and
commit a269913c52 ("rtlwifi: Rework rtl_lps_leave() and rtl_lps_enter()
to use work queue"), an error was introduced in the power-save routines
due to the fact that leaving PS was delayed by the use of a work queue.

This problem is fixed by detecting if the enter or leave routines are
in interrupt mode. If so, the workqueue is used to place the request.
If in normal mode, the enter or leave routines are called directly.

Fixes: a269913c52 ("rtlwifi: Rework rtl_lps_leave() and rtl_lps_enter() to use work queue")
Reported-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Stable <stable@vger.kernel.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2016-11-29 17:33:10 +02:00
..
rtl8xxxu rtl8xxxu: tx rate reported before set 2016-11-28 17:37:07 +02:00
rtl818x rtlwifi: rtl818x: Deinline indexed IO functions, save 21568 bytes 2016-05-03 13:05:14 +03:00
rtlwifi rtlwifi: Fix enter/exit power_save 2016-11-29 17:33:10 +02:00
Kconfig realtek: create separate Kconfig file 2015-11-18 14:28:31 +02:00
Makefile