staging: rtl8192e: Convert typedef FALSE_ALARM_STATISTICS to struct false_alarm_stats
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 19 Jul 2011 02:06:43 +0000 (21:06 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 05:56:36 +0000 (00:56 -0500)
Remove typedef from struct.
Rename struct.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
drivers/staging/rtl8192e/rtl819x_HT.h
drivers/staging/rtl8192e/rtl_core.h
drivers/staging/rtl8192e/rtl_dm.c

index 4b69c6ec1b167da1f40becbb963054785247105f..f85415ff3f152112e5bdbf90a474e2c988b99023 100644 (file)
@@ -366,7 +366,7 @@ struct mimo_evm {
        u32    EVM2;
 };//, *struct mimo_evm *;
 
-typedef struct _FALSE_ALARM_STATISTICS{
+struct false_alarm_stats {
        u32     Cnt_Parity_Fail;
        u32     Cnt_Rate_Illegal;
        u32     Cnt_Crc8_fail;
@@ -374,7 +374,7 @@ typedef struct _FALSE_ALARM_STATISTICS{
        u32     Cnt_Ofdm_fail;
        u32     Cnt_Cck_fail;
        u32     Cnt_all;
-}FALSE_ALARM_STATISTICS, *PFALSE_ALARM_STATISTICS;
+};//, *struct false_alarm_stats *;
 
 
 extern u8 MCS_FILTER_ALL[16];
index ffbfb290866d9875bc8083d2fbbcb1851a426ba5..a199cfdc30e7961149530b82523e2753e5bdfd2b 100644 (file)
@@ -882,7 +882,7 @@ typedef struct r8192_priv
        u8              DynamicTxHighPowerLvl;
        u8              LastDTPLvl;
        u32             CurrentRATR0;
-       FALSE_ALARM_STATISTICS FalseAlmCnt;
+       struct false_alarm_stats FalseAlmCnt;
 
        u8              DMFlag;
        u8              DM_Type;
index 696e6c260c53699236792880b8c12f999b9ca759..74868b84f04435f602a04893b483ba5cd4e03c48 100644 (file)
@@ -1916,7 +1916,7 @@ void dm_FalseAlarmCounterStatistics(struct net_device *dev)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        u32 ret_value;
-       PFALSE_ALARM_STATISTICS FalseAlmCnt = &(priv->FalseAlmCnt);
+       struct false_alarm_stats *FalseAlmCnt = &(priv->FalseAlmCnt);
 
        ret_value = rtl8192_QueryBBReg(dev, rOFDM_PHYCounter1, bMaskDWord);
         FalseAlmCnt->Cnt_Parity_Fail = ((ret_value&0xffff0000)>>16);