From 0e86753fe3faae9c24ca52218678b614ccf04f03 Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Mon, 18 Jul 2011 22:08:19 -0500 Subject: [PATCH] staging: rtl8192e: Convert typedef RT_LINK_DETECT_T to struct rt_link_detect Remove typedef from struct. Rename struct. Rename uses. Signed-off-by: Larry Finger --- drivers/staging/rtl8192e/rtllib.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index dd9ad6ed556c..6102c929a0c8 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -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; @@ -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{ @@ -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; -- 2.30.2