staging: rtl8723au: Make check_fwstate() return bool
authorJes Sorensen <Jes.Sorensen@redhat.com>
Sun, 25 May 2014 20:43:05 +0000 (22:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 May 2014 22:14:38 +0000 (15:14 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/include/rtw_mlme.h

index 1bb9e6cce7964ca105e0869a6488395388f9deb9..1aafa26aff5b091cc4e76ff0d4f76a51227fc065 100644 (file)
@@ -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;