[PATCH 07/14] staging:rtl8192u: Rename tspec_body members - Style

John Whitmore johnfwhitmore at gmail.com
Tue Jul 31 20:59:58 UTC 2018


The member variables of the tspec_body have been renamed to clear the
checkpatch issue with CamelCase naming. As these member variables are
never used in the code the changes are combined into this single
patch.

These changes are coding style changes which should have no impact on
runtime code execution.

Signed-off-by: John Whitmore <johnfwhitmore at gmail.com>
---
 .../staging/rtl8192u/ieee80211/rtl819x_Qos.h  | 30 +++++++++----------
 1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h b/drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h
index db0392cfd6d4..025810c93160 100644
--- a/drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h
+++ b/drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h
@@ -53,21 +53,21 @@ struct qos_tsinfo {
  */
 struct tspec_body {
 	struct qos_tsinfo	ts_info;	//u8	TSInfo[3];
-	u16	NominalMSDUsize;
-	u16	MaxMSDUsize;
-	u32	MinServiceItv;
-	u32	MaxServiceItv;
-	u32	InactivityItv;
-	u32	SuspenItv;
-	u32	ServiceStartTime;
-	u32	MinDataRate;
-	u32	MeanDataRate;
-	u32	PeakDataRate;
-	u32	MaxBurstSize;
-	u32	DelayBound;
-	u32	MinPhyRate;
-	u16	SurplusBandwidthAllowance;
-	u16	MediumTime;
+	u16	nominal_msd_usize;
+	u16	max_msd_usize;
+	u32	min_service_itv;
+	u32	max_service_itv;
+	u32	inactivity_itv;
+	u32	suspen_itv;
+	u32	service_start_time;
+	u32	min_data_rate;
+	u32	mean_data_rate;
+	u32	peak_data_rate;
+	u32	max_burst_size;
+	u32	delay_bound;
+	u32	min_phy_rate;
+	u16	surplus_bandwidth_allowance;
+	u16	medium_time;
 };
 
 //typedef struct _TCLASS{
-- 
2.18.0



More information about the devel mailing list