rtl8188eu: Replace _FALSE and _TRUE

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2014-12-28 20:13:24 -06:00
parent 17d1637977
commit 06334102cd
68 changed files with 2553 additions and 2572 deletions

View file

@ -84,16 +84,16 @@ hal_com_get_channel_plan(
u8 swConfig;
u8 chnlPlan;
swConfig = _TRUE;
swConfig = true;
if (!AutoLoadFail)
{
if (!rtw_is_channel_plan_valid(sw_channel_plan))
swConfig = _FALSE;
swConfig = false;
if (hw_channel_plan & EEPROM_CHANNEL_PLAN_BY_HW_MASK)
swConfig = _FALSE;
swConfig = false;
}
if (swConfig == _TRUE)
if (swConfig == true)
chnlPlan = sw_channel_plan;
else
chnlPlan = hw_channel_plan & (~EEPROM_CHANNEL_PLAN_BY_HW_MASK);
@ -289,9 +289,9 @@ Hal_MappingOutPipe(
{
struct registry_priv *pregistrypriv = &pAdapter->registrypriv;
BOOLEAN bWIFICfg = (pregistrypriv->wifi_spec) ?_TRUE:_FALSE;
BOOLEAN bWIFICfg = (pregistrypriv->wifi_spec) ?true:false;
BOOLEAN result = _TRUE;
BOOLEAN result = true;
switch(NumOutPipe)
{
@ -305,7 +305,7 @@ Hal_MappingOutPipe(
_OneOutPipeMapping(pAdapter);
break;
default:
result = _FALSE;
result = false;
break;
}