Skip to content

Commit

Permalink
staging: rtl8192e: Convert typedef RT_LINK_DETECT_T to struct rt_link…
Browse files Browse the repository at this point in the history
…_detect

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 ca99001 commit 0e86753
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/rtl8192e/rtllib.h
Original file line number Diff line number Diff line change
Expand Up @@ -1984,7 +1984,7 @@ typedef enum _FW_CMD_IO_TYPE{
}FW_CMD_IO_TYPE,*PFW_CMD_IO_TYPE;

#define RT_MAX_LD_SLOT_NUM 10
typedef struct _RT_LINK_DETECT_T{
struct rt_link_detect {

u32 NumRecvBcnInPeriod;
u32 NumRecvDataInPeriod;
Expand All @@ -2004,7 +2004,7 @@ typedef struct _RT_LINK_DETECT_T{
u32 NumTxUnicastOkInPeriod;
u32 LastNumTxUnicast;
u32 LastNumRxUnicast;
}RT_LINK_DETECT_T, *PRT_LINK_DETECT_T;
};//, *struct rt_link_detect *;

typedef struct _SW_CAM_TABLE{

Expand Down Expand Up @@ -2388,7 +2388,7 @@ struct rtllib_device {
bandwidth_autoswitch bandwidth_auto_switch;
bool FwRWRF;

RT_LINK_DETECT_T LinkDetectInfo;
struct rt_link_detect LinkDetectInfo;
bool bIsAggregateFrame;
struct rt_pwr_save_ctrl PowerSaveControl;
u8 amsdu_in_process;
Expand Down

0 comments on commit 0e86753

Please sign in to comment.