]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
staging: rtl8192e: Convert typedef HT_AGGRE_MODE_E to enum ht_aggre_mode
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 20 Jul 2011 00:06:51 +0000 (19:06 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 15:52:19 +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_HT.h

index 175c8184c8f4ae923bcc2f44af3b02155dcf9093..56c82fd2abb8a85a7b9915a980608af43f38b30b 100644 (file)
@@ -206,11 +206,11 @@ enum ht_spec_ver {
        HT_SPEC_VER_EWC = 1,
 };
 
-typedef enum _HT_AGGRE_MODE_E{
+enum ht_aggre_mode {
        HT_AGG_AUTO = 0,
        HT_AGG_FORCE_ENABLE = 1,
        HT_AGG_FORCE_DISABLE = 2,
-} HT_AGGRE_MODE_E, *PHT_AGGRE_MODE_E;
+};
 
 
 struct rt_hi_throughput {
@@ -251,11 +251,11 @@ struct rt_hi_throughput {
        u8                              MPDU_Density;
        u8                              CurrentMPDUDensity;
 
-       HT_AGGRE_MODE_E ForcedAMPDUMode;
+       enum ht_aggre_mode ForcedAMPDUMode;
        u8                              ForcedAMPDUFactor;
        u8                              ForcedMPDUDensity;
 
-       HT_AGGRE_MODE_E ForcedAMSDUMode;
+       enum ht_aggre_mode ForcedAMSDUMode;
        u16                             ForcedAMSDUMaxSize;
 
        u8                              bForcedShortGI;