staging: rtl8192e: renamed variable bRegShortGI20MHz
authorGary Rookard <garyrookard@fastmail.org>
Tue, 5 Dec 2023 23:16:19 +0000 (18:16 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Dec 2023 02:38:17 +0000 (11:38 +0900)
Coding style issue, checkpatch Avoid CamelCase,
rename it bRegShortGI20MHz -> reg_short_gi_20mhz

Signed-off-by: Gary Rookard <garyrookard@fastmail.org>
Link: https://lore.kernel.org/r/20231205231623.23070-2-garyrookard@fastmail.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl819x_HT.h
drivers/staging/rtl8192e/rtl819x_HTProc.c

index dd86faab6f53f46ef6ea02163f37667145995115..411a1d61128cd0f954b89c3b594a8523b35a1150 100644 (file)
@@ -98,7 +98,7 @@ struct rt_hi_throughput {
        u8 cur_bw_40mhz;
        u8 bRegShortGI40MHz;
        u8 bCurShortGI40MHz;
-       u8 bRegShortGI20MHz;
+       u8 reg_short_gi_20mhz;
        u8 bCurShortGI20MHz;
        u8 bRegSuppCCK;
        u8 bCurSuppCCK;
index f263f329db77ac17801d50550f212061db9ea30c..c8792f6397ed65957e0e1502963f2194ae7a5d12 100644 (file)
@@ -71,7 +71,7 @@ void ht_update_default_setting(struct rtllib_device *ieee)
 {
        struct rt_hi_throughput *ht_info = ieee->ht_info;
 
-       ht_info->bRegShortGI20MHz = 1;
+       ht_info->reg_short_gi_20mhz = 1;
        ht_info->bRegShortGI40MHz = 1;
 
        ht_info->bRegBW40MHz = 1;
@@ -478,7 +478,7 @@ void HTOnAssocRsp(struct rtllib_device *ieee)
        ht_info->cur_tx_bw40mhz = ((pPeerHTInfo->RecommemdedTxWidth == 1) ?
                                 true : false);
 
-       ht_info->bCurShortGI20MHz = ((ht_info->bRegShortGI20MHz) ?
+       ht_info->bCurShortGI20MHz = ((ht_info->reg_short_gi_20mhz) ?
                                    ((pPeerHTCap->ShortGI20Mhz == 1) ?
                                    true : false) : false);
        ht_info->bCurShortGI40MHz = ((ht_info->bRegShortGI40MHz) ?