staging: r8188eu: set two more state variables
authorMartin Kaiser <martin@kaiser.cx>
Sat, 15 Oct 2022 15:11:14 +0000 (17:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Oct 2022 15:41:42 +0000 (17:41 +0200)
commit126647d113dc6adf06cc4997ef8026f1972c34f7
treea10d183c1590ebd7f47dcd8cf3e2dcc2678c3974
parent1188cfa646ba2a7c295fe0cfac24529aec28ff2f
staging: r8188eu: set two more state variables

Set two more state variables in the blink worker when scan blinking and
tx/rx blinking are finished.

bLedBlinkInProgress is true during tx/rx blinking, bLedScanBlinkInProgress
is true during scan blinking. If we doing neither of the two, we may
safely set both variables to false.

This change makes the scan and tx/rx cases almost identical, we are now
ready to summarize the two cases.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Link: https://lore.kernel.org/r/20221015151115.232095-10-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_led.c