android_kernel_xiaomi_sm8350/drivers/staging/vt6656
Malcolm Priestley 23d44059bc staging: vt6656: Power save stop wake_up_count wrap around.
commit ea81c3486442f4643fc9825a2bb1b430b829bccd upstream.

conf.listen_interval can sometimes be zero causing wake_up_count
to wrap around up to many beacons too late causing
CTRL-EVENT-BEACON-LOSS as in.

wpa_supplicant[795]: message repeated 45 times: [..CTRL-EVENT-BEACON-LOSS ]

Fixes: 43c93d9bf5 ("staging: vt6656: implement power saving code.")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Link: https://lore.kernel.org/r/fce47bb5-7ca6-7671-5094-5c6107302f2b@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-29 16:33:22 +02:00
..
baseband.c staging: vt6656: limit reg output to block size 2020-01-14 20:08:32 +01:00
baseband.h
card.c staging: vt6656: remove bool from vnt_radio_power_on ret 2020-01-14 20:08:36 +01:00
card.h
channel.c staging: vt6656: Remove redundant license text 2017-11-28 13:20:47 +01:00
channel.h staging: vt6656: Fix styling of the comment related to SPDX-License-Identifier 2019-04-02 09:29:27 +02:00
desc.h
device.h staging: vt6656: correct packet types for CTS protect, mode. 2020-02-01 09:34:33 +00:00
dpc.c
dpc.h staging: vt6656: Fix styling of the comment related to SPDX-License-Identifier 2019-04-02 09:29:27 +02:00
firmware.c staging: vt6656: clean error path for firmware management 2019-05-21 08:25:04 +02:00
firmware.h
int.c staging: vt6656: Power save stop wake_up_count wrap around. 2020-04-29 16:33:22 +02:00
int.h
Kconfig
key.c staging: vt6656: Fix pairwise key entry save. 2020-04-29 16:33:21 +02:00
key.h
mac.c staging: vt6656: avoid discarding called function's return code 2019-05-21 08:25:03 +02:00
mac.h
main_usb.c
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
power.c
power.h
rf.c
rf.h
rxtx.c staging: vt6656: use NULLFUCTION stack on mac80211 2020-02-01 09:34:34 +00:00
rxtx.h
TODO
usbpipe.c
usbpipe.h
wcmd.c
wcmd.h staging: vt6656: Fix styling of the comment related to SPDX-License-Identifier 2019-04-02 09:29:27 +02:00