staging: r8188eu: summarize two flags checks
authorMartin Kaiser <martin@kaiser.cx>
Sat, 15 Oct 2022 15:24:39 +0000 (17:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Oct 2022 15:35:04 +0000 (17:35 +0200)
commit000848a511fc77b26864f2d95c8efa853e6bf82f
tree37712a8a3a22a2623c0eb012040373993165b8a4
parent6325d858c48d2fefe1c93da36f74b506d7abf71d
staging: r8188eu: summarize two flags checks

Summarize the two statements to check if either WIFI_FW_AUTH_STATE or
WIFI_FW_ASSOC_STATE is set.

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