staging: rtl8192e: Rename variable bRegShortGI40MHz
PATCH 1/1 staging: rtl8192e: Rename variable bRegShortGI40MHz
This patch renames variable bRegShortGI40MHz to breg_short_gi_40MHz to fix checkpatch warning Avoid CamelCase.
Signed-off-by Tree Davies <[email protected]>
--- drivers/staging/rtl8192e/rtl819x_HT.h | 2 +- drivers/staging/rtl8192e/rtl819x_HTProc.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-)
drivers/staging/rtl8192e/rtl819x_HT.h +1 -1
@@ -96,7 +96,7 @@ struct rt_hi_throughput {u8 bCurrentHTSupport;u8 bRegBW40MHz;u8 bCurBW40MHz; -u8 bRegShortGI40MHz; +u8 breg_short_gi_40MHz;u8 bCurShortGI40MHz;u8 bRegShortGI20MHz;u8 bCurShortGI20MHz;
drivers/staging/rtl8192e/rtl819x_HTProc.c +3 -3
@@ -72,7 +72,7 @@ void HTUpdateDefaultSetting(struct rtllib_device *ieee)struct rt_hi_throughput *ht_info = ieee->ht_info; ht_info->bRegShortGI20MHz =1 ; - ht_info->bRegShortGI40MHz =1 ; + ht_info->breg_short_gi_40MHz =1 ; ht_info->bRegBW40MHz =1 ;
@@ -545,7 +545,7 @@ void HTOnAssocRsp(struct rtllib_device *ieee) ht_info->bCurShortGI20MHz = ((ht_info->bRegShortGI20MHz) ? ((pPeerHTCap->ShortGI20Mhz ==1 ) ? true : false) : false); - ht_info->bCurShortGI40MHz = ((ht_info->bRegShortGI40MHz) ? + ht_info->bCurShortGI40MHz = ((ht_info->breg_short_gi_40MHz) ? ((pPeerHTCap->ShortGI40Mhz ==1 ) ? true : false) : false);
@@ -781,7 +781,7 @@ void HTUseDefaultSetting(struct rtllib_device *ieee) ht_info->bCurBW40MHz = ht_info->bRegBW40MHz; ht_info->bCurShortGI20MHz = ht_info->bRegShortGI20MHz; - ht_info->bCurShortGI40MHz = ht_info->bRegShortGI40MHz; + ht_info->bCurShortGI40MHz = ht_info->breg_short_gi_40MHz;if (ieee->iw_mode ==IW_MODE_ADHOC ) ieee->current_network.qos_data.active =
Signature · 1 line
2.30.2