mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-09 06:43:06 +00:00
rtl8188eu: Replace _FALSE and _TRUE
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
17d1637977
commit
06334102cd
68 changed files with 2553 additions and 2572 deletions
|
@ -604,8 +604,8 @@ NDIS_STATUS oid_rt_get_channel_hdl(struct oid_par_priv* poid_par_priv)
|
|||
return status;
|
||||
}
|
||||
|
||||
if ( (check_fwstate(pmlmepriv, _FW_LINKED) == _TRUE) ||
|
||||
(check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == _TRUE))
|
||||
if ( (check_fwstate(pmlmepriv, _FW_LINKED) == true) ||
|
||||
(check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true))
|
||||
pnic_Config = &pmlmepriv->cur_network.network.Configuration;
|
||||
else
|
||||
pnic_Config = &padapter->registrypriv.dev_network.Configuration;
|
||||
|
@ -860,11 +860,11 @@ NDIS_STATUS oid_rt_get_connect_state_hdl(struct oid_par_priv* poid_par_priv)
|
|||
// nStatus==2 AdHocMode
|
||||
// nStatus==3 NotAssociated
|
||||
|
||||
if(check_fwstate(pmlmepriv, _FW_UNDER_LINKING) == _TRUE)
|
||||
if(check_fwstate(pmlmepriv, _FW_UNDER_LINKING) == true)
|
||||
ulInfo = CHECKINGSTATUS;
|
||||
else if(check_fwstate(pmlmepriv, _FW_LINKED) == _TRUE)
|
||||
else if(check_fwstate(pmlmepriv, _FW_LINKED) == true)
|
||||
ulInfo = ASSOCIATED;
|
||||
else if(check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)== _TRUE)
|
||||
else if(check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)== true)
|
||||
ulInfo = ADHOCMODE;
|
||||
else
|
||||
ulInfo = NOTASSOCIATED ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue