staging: rtl8192e: rename variable HTResetSelfAndSavePeerSetting
authorGary Rookard <garyrookard@fastmail.org>
Thu, 21 Dec 2023 18:34:10 +0000 (13:34 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Dec 2023 13:09:14 +0000 (14:09 +0100)
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>
drivers/staging/rtl8192e/rtl819x_HTProc.c
drivers/staging/rtl8192e/rtllib.h
drivers/staging/rtl8192e/rtllib_softmac.c

index edfc2c7461ee11e55e6e428dd65b84015def9cc8..a32f3553df9367b21973e3a8e4675f675d2fe4b1 100644 (file)
@@ -558,7 +558,7 @@ void ht_initialize_bss_desc(struct bss_ht *pBssHT)
        pBssHT->rt2rt_ht_mode = (enum rt_ht_capability)0;
 }
 
-void HTResetSelfAndSavePeerSetting(struct rtllib_device *ieee,
+void ht_reset_self_and_save_peer_setting(struct rtllib_device *ieee,
                                   struct rtllib_network *pNetwork)
 {
        struct rt_hi_throughput *ht_info = ieee->ht_info;
index 193b4a5a7c04955d32d8385e8c1328e1d6f9508f..78eae7daa3511167209c7d44b54b7590e5f3bd4f 100644 (file)
@@ -1759,7 +1759,7 @@ void ht_construct_rt2rt_agg_element(struct rtllib_device *ieee,
 void ht_on_assoc_rsp(struct rtllib_device *ieee);
 void ht_initialize_ht_info(struct rtllib_device *ieee);
 void ht_initialize_bss_desc(struct bss_ht *pBssHT);
-void HTResetSelfAndSavePeerSetting(struct rtllib_device *ieee,
+void ht_reset_self_and_save_peer_setting(struct rtllib_device *ieee,
                                   struct rtllib_network *pNetwork);
 void HT_update_self_and_peer_setting(struct rtllib_device *ieee,
                                     struct rtllib_network *pNetwork);
index 9c94c5ceccd560f621d16700303ddba2ed1ef43d..14f34e6a591a8d5d0e10928a15024f2a279f6aeb 100644 (file)
@@ -1219,7 +1219,7 @@ inline void rtllib_softmac_new_net(struct rtllib_device *ieee,
                                ieee->AsocRetryCount = 0;
                                if ((ieee->current_network.qos_data.supported == 1) &&
                                    ieee->current_network.bssht.bd_support_ht)
-                                       HTResetSelfAndSavePeerSetting(ieee,
+                                       ht_reset_self_and_save_peer_setting(ieee,
                                                 &(ieee->current_network));
                                else
                                        ieee->ht_info->current_ht_support = false;