diff options
author | Bhanusree Pola | 2019-03-11 16:41:39 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2019-03-18 07:05:23 +0100 |
commit | 3eb9aa00daaefc86ec8c734125d5c9b0dae76228 (patch) | |
tree | fd91c2f2cff918ddadbcf3490d27c38d4d2f1f8e /drivers/staging/rtl8192u/ieee80211/ieee80211.h | |
parent | staging: rtl8192u: Remove typedef for struct _RT_LINK_DETECT_T (diff) | |
download | kernel-qcow2-linux-3eb9aa00daaefc86ec8c734125d5c9b0dae76228.tar.gz kernel-qcow2-linux-3eb9aa00daaefc86ec8c734125d5c9b0dae76228.tar.xz kernel-qcow2-linux-3eb9aa00daaefc86ec8c734125d5c9b0dae76228.zip |
staging: rtl8192u: Remove typedef for struct _RX_REORDER_ENTRY
-Avoid typedefs for structure types to maintain kernel coding style.
-Remove typedefs RX_REORDER_ENTRY and *PRX_REORDER_ENTRY of struct _RX_REORDER_ENTRY .
-Change Structure name _RX_REORDER_ENTRY to rx_reorder_entry to maintain Linux kernel Coding Style.
-Replace occurences of RX_REORDER_ENTRY to struct rx_reorder_entry.
-Replace occurences of PRX_REORDER_ENTRY to struct rx_reorder_entry *.
Signed-off-by: Bhanusree Pola <bhanusreemahesh@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u/ieee80211/ieee80211.h')
-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 fc24df42ca8d..ad5a3ae14804 100644 --- a/drivers/staging/rtl8192u/ieee80211/ieee80211.h +++ b/drivers/staging/rtl8192u/ieee80211/ieee80211.h @@ -1474,11 +1474,11 @@ struct bandwidth_autoswitch { #define REORDER_WIN_SIZE 128 #define REORDER_ENTRY_NUM 128 -typedef struct _RX_REORDER_ENTRY { +struct rx_reorder_entry { struct list_head List; u16 SeqNum; struct ieee80211_rxb *prxb; -} RX_REORDER_ENTRY, *PRX_REORDER_ENTRY; +}; //added by amy for order typedef enum _Fsync_State { Default_Fsync, @@ -1654,7 +1654,7 @@ struct ieee80211_device { struct list_head Rx_TS_Unused_List; struct rx_ts_record RxTsRecord[TOTAL_TS_NUM]; //#ifdef TO_DO_LIST - RX_REORDER_ENTRY RxReorderEntry[128]; + struct rx_reorder_entry RxReorderEntry[128]; struct list_head RxReorder_Unused_List; //#endif // Qos related. Added by Annie, 2005-11-01. |