diff options
author | wang yanqing <udknight@gmail.com> | 2016-05-03 00:38:36 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-06-07 17:21:58 -0700 |
commit | b459bc762398544e7d27cd543b5e72850f1e65c1 (patch) | |
tree | 2c07c308ef8acae2bac617bc4fe34fd9150e19a5 /lib/dma-debug.c | |
parent | 4f741c8806969f6343f945f6c12cf06aee25f5a4 (diff) |
rtlwifi: Fix logic error in enter/exit power-save mode
commit 873ffe154ae074c46ed2d72dbd9a2a99f06f55b4 upstream.
In commit a269913c52ad ("rtlwifi: Rework rtl_lps_leave() and
rtl_lps_enter() to use work queue"), the tests for enter/exit
power-save mode were inverted. With this change applied, the
wifi connection becomes much more stable.
Fixes: a269913c52ad ("rtlwifi: Rework rtl_lps_leave() and rtl_lps_enter() to use work queue")
Signed-off-by: Wang YanQing <udknight@gmail.com>
Acked-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 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions