From: Jes Sorensen Date: Sun, 25 May 2014 20:43:05 +0000 (+0200) Subject: staging: rtl8723au: Make check_fwstate() return bool X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a6ab752c3f2a0cc4ba667b06c4259dc9a843d35f;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git staging: rtl8723au: Make check_fwstate() return bool Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723au/include/rtw_mlme.h b/drivers/staging/rtl8723au/include/rtw_mlme.h index 1bb9e6cce796..1aafa26aff5b 100644 --- a/drivers/staging/rtl8723au/include/rtw_mlme.h +++ b/drivers/staging/rtl8723au/include/rtw_mlme.h @@ -332,7 +332,7 @@ static inline u8 *get_bssid(struct mlme_priv *pmlmepriv) return pmlmepriv->cur_network.network.MacAddress; } -static inline int check_fwstate(struct mlme_priv *pmlmepriv, int state) +static inline bool check_fwstate(struct mlme_priv *pmlmepriv, int state) { if (pmlmepriv->fw_state & state) return true;