mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-23 08:34:20 +00:00
rtl8188eu: Change all "if(" to "if ("
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
aa89a39a09
commit
6ead3e77dc
61 changed files with 3500 additions and 3500 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue