summaryrefslogtreecommitdiff
path: root/drivers/net/wimax
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2016-11-26 14:43:35 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-09 08:32:16 +0100
commit98068574928f499b30f136ff57ef9a03cc575a36 (patch)
tree3cb1a13f39a33d2f07a0ad34cf4dc4db396610ac /drivers/net/wimax
parentea23fca0c60045afbbeceef1926893d905eb1b36 (diff)
rtlwifi: Fix enter/exit power_save
commit ba9f93f82abafe2552eac942ebb11c2df4f8dd7f upstream. 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@realtek.com> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/wimax')
0 files changed, 0 insertions, 0 deletions