Commit 00b0f841 authored by Bhanusree Pola's avatar Bhanusree Pola Committed by Greg Kroah-Hartman

staging: rtl8192u: Remove typedef for struct _RT_LINK_DETECT_T

-Avoid typedefs for structure types to maintain kernel coding style.
-Remove typedefs RT_LINK_DETECT_T and *PRT_LINK_DETECT_T of struct _RT_LINK_DETECT_T.
-Change Structure name _RT_LINK_DETECT_T to rt_link_detect to maintain Linux kernel Coding Style.
-Replace occurence of RT_LINK_DETECT_T to struct rt_link_detect.
Signed-off-by: default avatarBhanusree Pola <bhanusreemahesh@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 82ec1977
...@@ -1586,7 +1586,7 @@ typedef enum { ...@@ -1586,7 +1586,7 @@ typedef enum {
} country_code_type_t; } country_code_type_t;
#define RT_MAX_LD_SLOT_NUM 10 #define RT_MAX_LD_SLOT_NUM 10
typedef struct _RT_LINK_DETECT_T { struct rt_link_detect {
u32 NumRecvBcnInPeriod; u32 NumRecvBcnInPeriod;
u32 NumRecvDataInPeriod; u32 NumRecvDataInPeriod;
...@@ -1599,7 +1599,7 @@ typedef struct _RT_LINK_DETECT_T { ...@@ -1599,7 +1599,7 @@ typedef struct _RT_LINK_DETECT_T {
u32 NumTxOkInPeriod; u32 NumTxOkInPeriod;
u32 NumRxOkInPeriod; u32 NumRxOkInPeriod;
bool bBusyTraffic; bool bBusyTraffic;
} RT_LINK_DETECT_T, *PRT_LINK_DETECT_T; };
struct ieee80211_device { struct ieee80211_device {
...@@ -1876,7 +1876,7 @@ struct ieee80211_device { ...@@ -1876,7 +1876,7 @@ struct ieee80211_device {
bool FwRWRF; bool FwRWRF;
//added by amy for AP roaming //added by amy for AP roaming
RT_LINK_DETECT_T LinkDetectInfo; struct rt_link_detect LinkDetectInfo;
//added by amy for ps //added by amy for ps
struct rt_power_save_control PowerSaveControl; struct rt_power_save_control PowerSaveControl;
//} //}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment