diff options
author | Bhanusree Pola | 2019-03-11 16:41:38 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2019-03-18 07:05:23 +0100 |
commit | 00b0f841b7403b762a2b9a02e79b126703c075ea (patch) | |
tree | 07eb55d19d092c17c804c56e0d7ce8ca0e1df9ff /drivers/staging/rtl8192u | |
parent | staging: rtl8192u: Remove typedef for struct _RT_POWER_SAVE_CONTROL (diff) | |
download | kernel-qcow2-linux-00b0f841b7403b762a2b9a02e79b126703c075ea.tar.gz kernel-qcow2-linux-00b0f841b7403b762a2b9a02e79b126703c075ea.tar.xz kernel-qcow2-linux-00b0f841b7403b762a2b9a02e79b126703c075ea.zip |
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: Bhanusree Pola <bhanusreemahesh@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u')
-rw-r--r-- | drivers/staging/rtl8192u/ieee80211/ieee80211.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211.h b/drivers/staging/rtl8192u/ieee80211/ieee80211.h index c8c0e4282fea..fc24df42ca8d 100644 --- a/drivers/staging/rtl8192u/ieee80211/ieee80211.h +++ b/drivers/staging/rtl8192u/ieee80211/ieee80211.h @@ -1586,7 +1586,7 @@ typedef enum { } country_code_type_t; #define RT_MAX_LD_SLOT_NUM 10 -typedef struct _RT_LINK_DETECT_T { +struct rt_link_detect { u32 NumRecvBcnInPeriod; u32 NumRecvDataInPeriod; @@ -1599,7 +1599,7 @@ typedef struct _RT_LINK_DETECT_T { u32 NumTxOkInPeriod; u32 NumRxOkInPeriod; bool bBusyTraffic; -} RT_LINK_DETECT_T, *PRT_LINK_DETECT_T; +}; struct ieee80211_device { @@ -1876,7 +1876,7 @@ struct ieee80211_device { bool FwRWRF; //added by amy for AP roaming - RT_LINK_DETECT_T LinkDetectInfo; + struct rt_link_detect LinkDetectInfo; //added by amy for ps struct rt_power_save_control PowerSaveControl; //} |