Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
maage committed Sep 21, 2015
1 parent 0675d7b commit 129eb8e
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions chips/mt76x0.c
Original file line number Diff line number Diff line change
Expand Up @@ -2315,7 +2315,7 @@ VOID mt76x0_read_per_rate_tx_pwr(
IN PRTMP_ADAPTER pAd)
{
UINT32 data;
USHORT e2p_val = 0, e2p_val2 = 0;;
USHORT e2p_val = 0, e2p_val2 = 0;
UCHAR bw40_gband_delta = 0, bw40_aband_delta = 0, bw80_aband_delta = 0;
CHAR t1 = 0, t2 = 0, t3 = 0, t4 = 0;
BOOLEAN dec_aband_bw40_delta = FALSE, dec_aband_bw80_delta = FALSE, dec_gband_bw40_delta = FALSE;
Expand Down Expand Up @@ -3940,10 +3940,10 @@ VOID MT76x0_MakeUpTssiTable(

RTMP_IO_READ32(pAd, TX_PWR_CFG_8, &reg_val);
DBGPRINT(RT_DEBUG_TRACE, ("0x%x: 0x%x\n", TX_PWR_CFG_8, reg_val));
pAd->chipCap.tssi_table.VHT[8].MCS_Power = (CHAR)((reg_val&0x3F0000)>>16);;
pAd->chipCap.tssi_table.VHT[8].MCS_Power = (CHAR)((reg_val&0x3F0000)>>16);
if ( pAd->chipCap.tssi_table.VHT[8].MCS_Power & 0x20 ) // > 32
pAd->chipCap.tssi_table.VHT[8].MCS_Power -= 64;
pAd->chipCap.tssi_table.VHT[9].MCS_Power = (CHAR)((reg_val&0x3F000000)>>24);;
pAd->chipCap.tssi_table.VHT[9].MCS_Power = (CHAR)((reg_val&0x3F000000)>>24);
if ( pAd->chipCap.tssi_table.VHT[9].MCS_Power & 0x20 ) // > 32
pAd->chipCap.tssi_table.VHT[9].MCS_Power -= 64;

Expand Down
2 changes: 1 addition & 1 deletion common/cmm_data_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ VOID ComposeNullFrame(RTMP_ADAPTER *pAd)
TXWI_STRUC *pTxWI;
UCHAR *buf;
UINT8 TXWISize = pAd->chipCap.TXWISize;
USHORT data_len = sizeof(pAd->NullFrame);;
USHORT data_len = sizeof(pAd->NullFrame);


NdisZeroMemory(&pAd->NullFrame, data_len);
Expand Down
2 changes: 1 addition & 1 deletion common/cmm_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -5637,7 +5637,7 @@ INT Set_ModuleTxpower_Proc(
#ifdef CAPTURE_MODE
INT set_cap_dump(RTMP_ADAPTER *pAd, PSTRING arg)
{
ULONG seg = simple_strtol(arg, 0, 10);;
ULONG seg = simple_strtol(arg, 0, 10);
CHAR *buf1, *buf2;
UINT32 offset = 0;

Expand Down
2 changes: 1 addition & 1 deletion common/cmm_profile.c
Original file line number Diff line number Diff line change
Expand Up @@ -1336,7 +1336,7 @@ static void HTParametersHook(

if (RTMPGetKeyParameter("HT_BSSCoexApCntThr", pValueStr, 25, pInput, TRUE))
{
pAd->CommonCfg.BssCoexApCntThr = simple_strtol(pValueStr, 0, 10);;
pAd->CommonCfg.BssCoexApCntThr = simple_strtol(pValueStr, 0, 10);

DBGPRINT(RT_DEBUG_TRACE, ("HT: 20/40 BssCoexApCntThr = %d\n", pAd->CommonCfg.BssCoexApCntThr));
}
Expand Down
2 changes: 1 addition & 1 deletion include/rtmp.h
Original file line number Diff line number Diff line change
Expand Up @@ -5361,7 +5361,7 @@ VOID IterateOnBssTab(
IN PRTMP_ADAPTER pAd);

VOID IterateOnBssTab2(
IN PRTMP_ADAPTER pAd);;
IN PRTMP_ADAPTER pAd);

VOID JoinParmFill(
IN PRTMP_ADAPTER pAd,
Expand Down
2 changes: 1 addition & 1 deletion os/linux/rt_main_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ int rt28xx_open(VOID *dev)
if (res)
{
DBGPRINT(RT_DEBUG_ERROR, ("rt28xx_open autopm_resume fail ------\n"));
return (-1);;
return (-1);
}
}

Expand Down
2 changes: 1 addition & 1 deletion sta/sta_cfg.c
Original file line number Diff line number Diff line change
Expand Up @@ -3642,7 +3642,7 @@ INT RTMPQueryInformation(
if (pAd->WlanCounters.TransmittedFragmentCount.QuadPart < pAd->WlanCounters.RetryCount.QuadPart)
pAd->WlanCounters.TransmittedFragmentCount.QuadPart = pAd->WlanCounters.RetryCount.QuadPart;

pStatistics->TransmittedFragmentCount.QuadPart = pAd->WlanCounters.TransmittedFragmentCount.QuadPart + pAd->WlanCounters.MulticastTransmittedFrameCount.QuadPart;;
pStatistics->TransmittedFragmentCount.QuadPart = pAd->WlanCounters.TransmittedFragmentCount.QuadPart + pAd->WlanCounters.MulticastTransmittedFrameCount.QuadPart;
pStatistics->MulticastTransmittedFrameCount.QuadPart = pAd->WlanCounters.MulticastTransmittedFrameCount.QuadPart;
pStatistics->FailedCount.QuadPart = pAd->WlanCounters.FailedCount.QuadPart;
pStatistics->RetryCount.QuadPart = pAd->WlanCounters.RetryCount.QuadPart;
Expand Down

0 comments on commit 129eb8e

Please sign in to comment.