staging: r8188eu: simplify err handling for unknown station
authorMartin Kaiser <martin@kaiser.cx>
Tue, 29 Nov 2022 20:51:52 +0000 (21:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Dec 2022 12:29:07 +0000 (13:29 +0100)
commit30b28fd639abf51464f015f6bebd7506bc895be2
tree715e9428b6bda3444299838a884839e9962eb331
parent17580de3e2b876247f2201b6486559ef1e6b7f58
staging: r8188eu: simplify err handling for unknown station

If we receive a disassoc message from an unknown station, we can drop this
message immediately. Reorder the code to make this clearer.

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