]> git.baikalelectronics.ru Git - kernel.git/commit
staging: vt6656: Power save stop wake_up_count wrap around.
authorMalcolm Priestley <tvboxspy@gmail.com>
Tue, 14 Apr 2020 10:39:23 +0000 (11:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Apr 2020 11:45:15 +0000 (13:45 +0200)
commitd44bdef453ffeeae9b457317774dfaea70b18009
tree6e7b506851193baeb1cab5abf6776ead86538a4d
parent48759d232379e6141e0ab25b3a74988d2324e7de
staging: vt6656: Power save stop wake_up_count wrap around.

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: e0a39b893b6a ("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>
drivers/staging/vt6656/usbpipe.c