Skip to content

Commit

Permalink
staging: rtl8192e: Convert typedef DRxPathSel to struct drx_path_sel
Browse files Browse the repository at this point in the history
Remove typedef from struct.
Rename struct.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
  • Loading branch information
Larry Finger authored and Larry Finger committed Aug 24, 2011
1 parent d514e34 commit 8e8b90c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/rtl8192e/rtl_dm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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-----------------------------*/


Expand Down
7 changes: 3 additions & 4 deletions drivers/staging/rtl8192e/rtl_dm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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
{
Expand Down Expand Up @@ -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----------------------------*/
Expand Down

0 comments on commit 8e8b90c

Please sign in to comment.