staging: r8188eu: always cancel blink_work when WPS failed
authorMartin Kaiser <martin@kaiser.cx>
Mon, 5 Sep 2022 20:01:44 +0000 (22:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Sep 2022 07:52:08 +0000 (09:52 +0200)
commit9b34e23b1fff0d70a9939c5a29aa3c629716c305
tree40237c1276b7540a8ae96e1cf8f6daf058da36ad
parentde9c3e9ea926f8164b77383bfbc9fcac01b95af2
staging: r8188eu: always cancel blink_work when WPS failed

Cancel blink_work if WPS fails. Another worker will be scheduled after
the state variables are updated.

Tested-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220905200146.82259-6-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_led.c