diff options
author | Quytelda Kahja <quytelda@tamalin.org> | 2018-03-27 11:41:13 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-29 12:59:29 +0300 |
commit | 3df3602ac74b641f54149599c78d3606b467f58e (patch) | |
tree | a577967a94b804eb156061b3618e4819399b4692 /drivers/staging/rtl8723bs/hal/odm.h | |
parent | 9f534f7ee8558dd327f63fe07a9127eb32789065 (diff) | |
download | linux-3df3602ac74b641f54149599c78d3606b467f58e.tar.xz |
staging: rtl8723bs: Rework 'struct _ODM_Per_Pkt_Info_' coding style.
Change the typedef'd 'struct _ODM_Per_Pkt_Info_' into
'struct odm_packet_info' and change the members to snake case in
order to meet the coding style guidelines.
Members:
* u8 DataRate -> data_rate
* u8 StationID -> station_id
* bool bPacketMatchBSSID -> bssid_match
* bool bPacketToSelf -> to_self
* bool bPacketBeacon -> is_beacon
* bool bToSelf -> (removed because it isn't used)
Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723bs/hal/odm.h')
-rw-r--r-- | drivers/staging/rtl8723bs/hal/odm.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/drivers/staging/rtl8723bs/hal/odm.h b/drivers/staging/rtl8723bs/hal/odm.h index 87a76bafecb3..7c13a9314a22 100644 --- a/drivers/staging/rtl8723bs/hal/odm.h +++ b/drivers/staging/rtl8723bs/hal/odm.h @@ -262,15 +262,13 @@ typedef struct _ODM_Phy_Status_Info_ { } ODM_PHY_INFO_T, *PODM_PHY_INFO_T; -typedef struct _ODM_Per_Pkt_Info_ { - /* u8 Rate; */ - u8 DataRate; - u8 StationID; - bool bPacketMatchBSSID; - bool bPacketToSelf; - bool bPacketBeacon; - bool bToSelf; -} ODM_PACKET_INFO_T, *PODM_PACKET_INFO_T; +struct odm_packet_info { + u8 data_rate; + u8 station_id; + bool bssid_match; + bool to_self; + bool is_beacon; +}; typedef struct _ODM_Phy_Dbg_Info_ { |