Skip to content

Commit 0901e69

Browse files
garyrookardgregkh
authored andcommitted
staging: rtl8192e: rename variable HTResetSelfAndSavePeerSetting
Coding style issue, checkpatch Avoid CamelCase, rename it. HTResetSelfAndSavePeerSetting -> ht_reset_self_and_save_peer_setting Signed-off-by: Gary Rookard <garyrookard@fastmail.org> Link: https://lore.kernel.org/r/20231221183413.8349-3-garyrookard@fastmail.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 6911a08 commit 0901e69

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

drivers/staging/rtl8192e/rtl819x_HTProc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ void ht_initialize_bss_desc(struct bss_ht *pBssHT)
558558
pBssHT->rt2rt_ht_mode = (enum rt_ht_capability)0;
559559
}
560560

561-
void HTResetSelfAndSavePeerSetting(struct rtllib_device *ieee,
561+
void ht_reset_self_and_save_peer_setting(struct rtllib_device *ieee,
562562
struct rtllib_network *pNetwork)
563563
{
564564
struct rt_hi_throughput *ht_info = ieee->ht_info;

drivers/staging/rtl8192e/rtllib.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1759,7 +1759,7 @@ void ht_construct_rt2rt_agg_element(struct rtllib_device *ieee,
17591759
void ht_on_assoc_rsp(struct rtllib_device *ieee);
17601760
void ht_initialize_ht_info(struct rtllib_device *ieee);
17611761
void ht_initialize_bss_desc(struct bss_ht *pBssHT);
1762-
void HTResetSelfAndSavePeerSetting(struct rtllib_device *ieee,
1762+
void ht_reset_self_and_save_peer_setting(struct rtllib_device *ieee,
17631763
struct rtllib_network *pNetwork);
17641764
void HT_update_self_and_peer_setting(struct rtllib_device *ieee,
17651765
struct rtllib_network *pNetwork);

drivers/staging/rtl8192e/rtllib_softmac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1219,7 +1219,7 @@ inline void rtllib_softmac_new_net(struct rtllib_device *ieee,
12191219
ieee->AsocRetryCount = 0;
12201220
if ((ieee->current_network.qos_data.supported == 1) &&
12211221
ieee->current_network.bssht.bd_support_ht)
1222-
HTResetSelfAndSavePeerSetting(ieee,
1222+
ht_reset_self_and_save_peer_setting(ieee,
12231223
&(ieee->current_network));
12241224
else
12251225
ieee->ht_info->current_ht_support = false;

0 commit comments

Comments
 (0)