diff options
author | Michael Straube <straube.linux@gmail.com> | 2022-02-20 11:02:09 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-02-21 18:11:03 +0100 |
commit | 165f2997adfc66ed812a192662142f49026b97c5 (patch) | |
tree | 585ac290fe4e355e89fac6ef4d28f3c7bebdae06 /drivers/staging/r8188eu/include/rtw_mlme.h | |
parent | bffd6e0a73988ef358e93e6b1a9ab298f38dfafd (diff) | |
download | linux-165f2997adfc66ed812a192662142f49026b97c5.tar.bz2 |
staging: r8188eu: convert two u8 variables to bool
The variables bScanInProcess in struct mlme_priv and bpower_saving in
struct pwrctrl_priv are both unsed to store only boolean values true
and false. Convert them from u8 to bool to avoid type casts in the
function Update_ODM_ComInfo_88E().
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20220220100212.7466-3-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/r8188eu/include/rtw_mlme.h')
-rw-r--r-- | drivers/staging/r8188eu/include/rtw_mlme.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/r8188eu/include/rtw_mlme.h b/drivers/staging/r8188eu/include/rtw_mlme.h index 1e16fa615b94..d418d57f99b6 100644 --- a/drivers/staging/r8188eu/include/rtw_mlme.h +++ b/drivers/staging/r8188eu/include/rtw_mlme.h @@ -310,7 +310,7 @@ struct qos_priv { struct mlme_priv { spinlock_t lock; int fw_state; /* shall we protect this variable? maybe not necessarily... */ - u8 bScanInProcess; + bool bScanInProcess; u8 to_join; /* flag */ u8 to_roaming; /* roaming trying times */ |