From: Larry Finger Date: Tue, 19 Jul 2011 03:08:19 +0000 (-0500) Subject: staging: rtl8192e: Convert typedef RT_LINK_DETECT_T to struct rt_link_detect X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0e86753fe3faae9c24ca52218678b614ccf04f03;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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;