rtl8188eu: Change all "if(" to "if ("

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2015-08-15 13:02:34 -05:00
parent aa89a39a09
commit 6ead3e77dc
61 changed files with 3500 additions and 3500 deletions

View file

@ -52,7 +52,7 @@ SwLedOn(
u8 LedCfg;
/* HAL_DATA_TYPE *pHalData = GET_HAL_DATA(padapter); */
if( (padapter->bSurpriseRemoved == true) || ( padapter->bDriverStopped == true))
if ( (padapter->bSurpriseRemoved == true) || ( padapter->bDriverStopped == true))
{
return;
}
@ -89,7 +89,7 @@ SwLedOff(
u8 LedCfg;
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(padapter);
if((padapter->bSurpriseRemoved == true) || ( padapter->bDriverStopped == true))
if ((padapter->bSurpriseRemoved == true) || ( padapter->bDriverStopped == true))
{
goto exit;
}
@ -100,7 +100,7 @@ SwLedOff(
switch(pLed->LedPin)
{
case LED_PIN_LED0:
if(pHalData->bLedOpenDrain == true) /* Open-drain arrangement for controlling the LED) */
if (pHalData->bLedOpenDrain == true) /* Open-drain arrangement for controlling the LED) */
{
LedCfg &= 0x90; /* Set to software control. */
rtw_write8(padapter, REG_LEDCFG2, (LedCfg|BIT3));