staging: r8188eu: move bBusyTraffic update
authorMartin Kaiser <martin@kaiser.cx>
Tue, 29 Nov 2022 20:51:50 +0000 (21:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Dec 2022 12:29:07 +0000 (13:29 +0100)
commit8f7f05934ea24676c5c259a66bd71fa35ee22ef3
tree87ef2deb80270099d25d367bde5fab35f7e4d16e
parente70cac829d63f24aac0ea858a5407d25cf55b85a
staging: r8188eu: move bBusyTraffic update

Move the update of bBusyTraffic into the else branch. The if branch ends
with a return statement, so bBusyTraffic will not be updated in this case.

With this change in place, we can reorder the code and save some levels of
indentation.

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