rtlwifi: Fix enter/exit power_save

Kalle Valo kvalo at codeaurora.org
Tue Nov 29 15:33:31 UTC 2016


Larry Finger <Larry.Finger at lwfinger.net> wrote:
> In commit a5ffbe0a1993 ("rtlwifi: Fix scheduling while atomic bug") and
> commit a269913c52ad ("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: a269913c52ad ("rtlwifi: Rework rtl_lps_leave() and rtl_lps_enter() to use work queue")
> Reported-by: Ping-Ke Shih <pkshih at realtek.com>
> Signed-off-by: Larry Finger <Larry.Finger at lwfinger.net>
> Cc: Stable <stable at vger.kernel.org>

Patch applied to wireless-drivers-next.git, thanks.

ba9f93f82aba rtlwifi: Fix enter/exit power_save

-- 
https://patchwork.kernel.org/patch/9448539/

Documentation about submitting wireless patches and checking status
from patchwork:

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches



More information about the devel mailing list