summaryrefslogtreecommitdiff
path: root/drivers/bcma
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2016-11-26 14:43:35 -0600
committerKalle Valo <kvalo@codeaurora.org>2016-11-29 17:33:10 +0200
commitba9f93f82abafe2552eac942ebb11c2df4f8dd7f (patch)
tree8ae00b560f1a66ba3526a24de79ad22fea833685 /drivers/bcma
parent05db221e30a924f5f80cbef34eb9f210522ceb84 (diff)
rtlwifi: Fix enter/exit power_save
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> Cc: Stable <stable@vger.kernel.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/bcma')
0 files changed, 0 insertions, 0 deletions