staging: r8188eu: reset blink state when WPS fails
authorMartin Kaiser <martin@kaiser.cx>
Mon, 5 Sep 2022 20:01:45 +0000 (22:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Sep 2022 07:52:08 +0000 (09:52 +0200)
commit96b3043412e06babdc5d43ea832b204b4e5ebaa6
tree4edebfd49f6b1c2d151af32e0240744d36af7569
parent9b34e23b1fff0d70a9939c5a29aa3c629716c305
staging: r8188eu: reset blink state when WPS fails

When WPS fails, WPS blinking is no longer in progress. The if statement
can be removed.

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