staging: rtl8723au: Make check_fwstate() return bool
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f2f97035f0
commit
a6ab752c3f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue