staging: rtl8192e: rename variable HTInitializeHTInfo
authorGary Rookard <garyrookard@fastmail.org>
Wed, 13 Dec 2023 17:54:59 +0000 (12:54 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Dec 2023 12:37:53 +0000 (13:37 +0100)
Coding style issue, checkpatch Avoid CamelCase,
rename it. HTInitializeHTInfo -> ht_initialize_ht_info

Signed-off-by: Gary Rookard <garyrookard@fastmail.org>
Link: https://lore.kernel.org/r/20231213175459.5425-6-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_module.c

index b1cd52aa7e2e600c4075ac8f46e5ade978e5e974..90a9356d78cad1f0bbc055a634f0e0b2c90227c3 100644 (file)
@@ -501,7 +501,7 @@ void ht_on_assoc_rsp(struct rtllib_device *ieee)
        ht_info->current_op_mode = pPeerHTInfo->OptMode;
 }
 
-void HTInitializeHTInfo(struct rtllib_device *ieee)
+void ht_initialize_ht_info(struct rtllib_device *ieee)
 {
        struct rt_hi_throughput *ht_info = ieee->ht_info;
 
index 8e87cbecdc6814e33049a086cd534114302a6a00..b4413cfcb17e2000ddc6aef6506383d5b01aefb1 100644 (file)
@@ -1757,7 +1757,7 @@ void ht_construct_capability_element(struct rtllib_device *ieee,
 void ht_construct_rt2rt_agg_element(struct rtllib_device *ieee,
                                u8 *posRT2RTAgg, u8 *len);
 void ht_on_assoc_rsp(struct rtllib_device *ieee);
-void HTInitializeHTInfo(struct rtllib_device *ieee);
+void ht_initialize_ht_info(struct rtllib_device *ieee);
 void HTInitializeBssDesc(struct bss_ht *pBssHT);
 void HTResetSelfAndSavePeerSetting(struct rtllib_device *ieee,
                                   struct rtllib_network *pNetwork);
index 95b6d6b9429c10af54902a3d5e9c7c062f8c14fb..e7af4a25b0beef03c7181556df610561b77d83bf 100644 (file)
@@ -123,7 +123,7 @@ struct net_device *alloc_rtllib(int sizeof_priv)
                goto free_softmac;
 
        ht_update_default_setting(ieee);
-       HTInitializeHTInfo(ieee);
+       ht_initialize_ht_info(ieee);
        rtllib_ts_init(ieee);
        for (i = 0; i < IEEE_IBSS_MAC_HASH_SIZE; i++)
                INIT_LIST_HEAD(&ieee->ibss_mac_hash[i]);