Commit a6ab752c authored by Jes Sorensen's avatar Jes Sorensen Committed by Greg Kroah-Hartman

staging: rtl8723au: Make check_fwstate() return bool

Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f2f97035
...@@ -332,7 +332,7 @@ static inline u8 *get_bssid(struct mlme_priv *pmlmepriv) ...@@ -332,7 +332,7 @@ static inline u8 *get_bssid(struct mlme_priv *pmlmepriv)
return pmlmepriv->cur_network.network.MacAddress; 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) if (pmlmepriv->fw_state & state)
return true; return true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment