staging: rtl8192e: Convert typedef DIRECTION_VALUE to enum direction_value
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 20 Jul 2011 00:28:39 +0000 (19:28 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 15:52:26 +0000 (10:52 -0500)
Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
drivers/staging/rtl8192e/rtl819x_Qos.h
drivers/staging/rtl8192e/rtl819x_TSProc.c

index b4290c41c6e885f49270cb6692518ee8c26ea629..19f10e8cdaef70fedbc5abf58ec59cb3de0c8e93 100644 (file)
@@ -215,12 +215,12 @@ enum qos_ele_subtype {
 };
 
 
-typedef        enum _DIRECTION_VALUE{
+enum direction_value {
        DIR_UP                  = 0,
        DIR_DOWN                = 1,
        DIR_DIRECT              = 2,
        DIR_BI_DIR              = 3,
-} DIRECTION_VALUE,*PDIRECTION_VALUE;
+};
 
 typedef        enum _ACM_METHOD{
        eAcmWay0_SwAndHw                = 0,
index 7947e376e05d66049e1e40911ca9e60b70f23f56..6cec575d8d24d848bc6d093a7f0c33708fe27f78 100644 (file)
@@ -388,7 +388,7 @@ bool GetTs(
                                                                (&ieee->Tx_TS_Admit_List):
                                                                (&ieee->Rx_TS_Admit_List);
 
-                       DIRECTION_VALUE         Dir =           (ieee->iw_mode == IW_MODE_MASTER)?
+                       enum direction_value Dir =              (ieee->iw_mode == IW_MODE_MASTER)?
                                                                ((TxRxSelect==TX_DIR)?DIR_DOWN:DIR_UP):
                                                                ((TxRxSelect==TX_DIR)?DIR_UP:DIR_DOWN);
                        RTLLIB_DEBUG(RTLLIB_DL_TS, "to add Ts\n");