staging: r8188eu: summarize tx/rx and scan blinking
authorMartin Kaiser <martin@kaiser.cx>
Sat, 15 Oct 2022 15:11:15 +0000 (17:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Oct 2022 15:41:42 +0000 (17:41 +0200)
commite1445e7b003b2b2eace1145f58670200ddadd100
treecb8e10eb37fb39588baa808080934ca59444e68a
parent126647d113dc6adf06cc4997ef8026f1972c34f7
staging: r8188eu: summarize tx/rx and scan blinking

Summarize the code for tx/rx blinking and for scan blinking in blink_work.
The only difference is the delay for scheduling the next worker.

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-11-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_led.c