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 4b69c6e..f85415f 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 ffbfb29..a199cfd 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 696e6c2..74868b8 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);