]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: rtl8192e: Convert typedef DRxPathSel to struct drx_path_sel
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 19 Jul 2011 04:36:26 +0000 (23:36 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 06:40:04 +0000 (01:40 -0500)
Remove typedef from struct.
Rename struct.
Rename uses.

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

index 74868b84f04435f602a04893b483ba5cd4e03c48..160df4ad7442efa8e197c73d2e2db802d2f522d2 100644 (file)
@@ -66,7 +66,7 @@ static u32 edca_setting_UL[HT_IOT_PEER_MAX] =
 /*------------------------Define global variable-----------------------------*/
 dig_t  dm_digtable;
 u8             dm_shadow[16][256] = {{0}};
-DRxPathSel     DM_RxPathSelTable;
+struct drx_path_sel DM_RxPathSelTable;
 /*------------------------Define global variable-----------------------------*/
 
 
index 6f59097873c12ab47d3b5b222b9fb3ecc582ac73..b2aad3ca6b2c6a965e743573e96b89e78737f926 100644 (file)
@@ -219,8 +219,7 @@ typedef enum tag_dig_cck_cs_ratio_state_definition
        DIG_CS_RATIO_HIGHER = 1,
        DIG_CS_MAX
 }dm_dig_cs_ratio_e;
-typedef struct _Dynamic_Rx_Path_Selection_
-{
+struct drx_path_sel {
        u8              Enable;
        u8              DbgMode;
        u8              cck_method;
@@ -234,7 +233,7 @@ typedef struct _Dynamic_Rx_Path_Selection_
        u8              rf_rssi[4];
        u8              rf_enable_rssi_th[4];
        long            cck_pwdb_sta[4];
-}DRxPathSel;
+};//;
 
 typedef enum tag_CCK_Rx_Path_Method_Definition
 {
@@ -263,7 +262,7 @@ typedef struct tag_Tx_Config_Cmd_Format
 /*------------------------Export global variable----------------------------*/
 extern dig_t   dm_digtable;
 extern u8              dm_shadow[16][256];
-extern DRxPathSel      DM_RxPathSelTable;
+extern struct drx_path_sel DM_RxPathSelTable;
 
 extern u8                      test_flag;
 /*------------------------Export global variable----------------------------*/