Removed some spacing

This commit is contained in:
Christian kimocoder 2017-10-24 14:48:00 +02:00 committed by GitHub
parent 650a632c96
commit 8c6bb81767

View File

@ -52,7 +52,6 @@
#endif #endif
#endif /* !RTW_HALMAC */ #endif /* !RTW_HALMAC */
u8 MgntQuery_NssTxRate(u16 Rate) u8 MgntQuery_NssTxRate(u16 Rate)
{ {
u8 NssNum = RF_TX_NUM_NONIMPLEMENT; u8 NssNum = RF_TX_NUM_NONIMPLEMENT;
@ -112,7 +111,6 @@ s32 hal_mpt_SetPowerTracking(PADAPTER padapter, u8 enable)
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(padapter); HAL_DATA_TYPE *pHalData = GET_HAL_DATA(padapter);
PDM_ODM_T pDM_Odm = &(pHalData->odmpriv); PDM_ODM_T pDM_Odm = &(pHalData->odmpriv);
if (!netif_running(padapter->pnetdev)) { if (!netif_running(padapter->pnetdev)) {
return _FAIL; return _FAIL;
} }
@ -137,7 +135,6 @@ void hal_mpt_GetPowerTracking(PADAPTER padapter, u8 *enable)
*enable = pDM_Odm->RFCalibrateInfo.TxPowerTrackControl; *enable = pDM_Odm->RFCalibrateInfo.TxPowerTrackControl;
} }
void hal_mpt_CCKTxPowerAdjust(PADAPTER Adapter, BOOLEAN bInCH14) void hal_mpt_CCKTxPowerAdjust(PADAPTER Adapter, BOOLEAN bInCH14)
{ {
u32 TempVal = 0, TempVal2 = 0, TempVal3 = 0; u32 TempVal = 0, TempVal2 = 0, TempVal3 = 0;
@ -1299,7 +1296,6 @@ void mpt_SetRFPath_8723D(PADAPTER pAdapter)
PHY_SetRFReg(pAdapter, ODM_RF_PATH_A, 0x51, PHY_SetRFReg(pAdapter, ODM_RF_PATH_A, 0x51,
bRFRegOffsetMask, 0x6B04E); bRFRegOffsetMask, 0x6B04E);
for (i = 0; i < 3; ++i) { for (i = 0; i < 3; ++i) {
/* <20130603, Kordan> Because BB suppors only 1T1R, /* <20130603, Kordan> Because BB suppors only 1T1R,
we restore IQC to S1 instead of S0.*/ we restore IQC to S1 instead of S0.*/
@ -1468,7 +1464,6 @@ VOID mpt_SetRFPath_819X(PADAPTER pAdapter)
break; break;
} }
if (chgTx && chgRx) { if (chgTx && chgRx) {
switch (pHalData->rf_chip) { switch (pHalData->rf_chip) {
case RF_8225: case RF_8225:
@ -1493,7 +1488,6 @@ VOID mpt_SetRFPath_819X(PADAPTER pAdapter)
} }
} /* MPT_ProSetRFPath */ } /* MPT_ProSetRFPath */
void hal_mpt_SetAntenna(PADAPTER pAdapter) void hal_mpt_SetAntenna(PADAPTER pAdapter)
{ {
@ -1560,12 +1554,10 @@ s32 hal_mpt_SetThermalMeter(PADAPTER pAdapter, u8 target_ther)
return _FAIL; return _FAIL;
} }
if (check_fwstate(&pAdapter->mlmepriv, WIFI_MP_STATE) == _FALSE) { if (check_fwstate(&pAdapter->mlmepriv, WIFI_MP_STATE) == _FALSE) {
return _FAIL; return _FAIL;
} }
target_ther &= 0xff; target_ther &= 0xff;
if (target_ther < 0x07) if (target_ther < 0x07)
target_ther = 0x07; target_ther = 0x07;
@ -1577,14 +1569,12 @@ s32 hal_mpt_SetThermalMeter(PADAPTER pAdapter, u8 target_ther)
return _SUCCESS; return _SUCCESS;
} }
void hal_mpt_TriggerRFThermalMeter(PADAPTER pAdapter) void hal_mpt_TriggerRFThermalMeter(PADAPTER pAdapter)
{ {
PHY_SetRFReg(pAdapter, ODM_RF_PATH_A, 0x42, BIT17 | BIT16, 0x03); PHY_SetRFReg(pAdapter, ODM_RF_PATH_A, 0x42, BIT17 | BIT16, 0x03);
} }
u8 hal_mpt_ReadRFThermalMeter(PADAPTER pAdapter) u8 hal_mpt_ReadRFThermalMeter(PADAPTER pAdapter)
{ {
@ -1595,7 +1585,6 @@ u8 hal_mpt_ReadRFThermalMeter(PADAPTER pAdapter)
} }
void hal_mpt_GetThermalMeter(PADAPTER pAdapter, u8 *value) void hal_mpt_GetThermalMeter(PADAPTER pAdapter, u8 *value)
{ {
#if 0 #if 0
@ -1611,7 +1600,6 @@ void hal_mpt_GetThermalMeter(PADAPTER pAdapter, u8 *value)
} }
void hal_mpt_SetSingleCarrierTx(PADAPTER pAdapter, u8 bStart) void hal_mpt_SetSingleCarrierTx(PADAPTER pAdapter, u8 bStart)
{ {
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(pAdapter); HAL_DATA_TYPE *pHalData = GET_HAL_DATA(pAdapter);
@ -1656,7 +1644,6 @@ void hal_mpt_SetSingleCarrierTx(PADAPTER pAdapter, u8 bStart)
} }
} }
void hal_mpt_SetSingleToneTx(PADAPTER pAdapter, u8 bStart) void hal_mpt_SetSingleToneTx(PADAPTER pAdapter, u8 bStart)
{ {
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(pAdapter); HAL_DATA_TYPE *pHalData = GET_HAL_DATA(pAdapter);
@ -2071,7 +2058,6 @@ static VOID mpt_StopCckContTx(
} /* mpt_StopCckContTx */ } /* mpt_StopCckContTx */
static VOID mpt_StopOfdmContTx( static VOID mpt_StopOfdmContTx(
PADAPTER pAdapter PADAPTER pAdapter
) )