staging: rtl8192e: rename variable HTOnAssocRsp
authorGary Rookard <garyrookard@fastmail.org>
Wed, 13 Dec 2023 17:54:58 +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. HTOnAssocRsp -> ht_on_assoc_rsp

Signed-off-by: Gary Rookard <garyrookard@fastmail.org>
Link: https://lore.kernel.org/r/20231213175459.5425-5-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 14c036b022a1027ddb5df6315a1fcba9b62755fa..b1cd52aa7e2e600c4075ac8f46e5ade978e5e974 100644 (file)
@@ -421,7 +421,7 @@ void ht_set_connect_bw_mode(struct rtllib_device *ieee,
                        enum ht_channel_width bandwidth,
                        enum ht_extchnl_offset Offset);
 
-void HTOnAssocRsp(struct rtllib_device *ieee)
+void ht_on_assoc_rsp(struct rtllib_device *ieee)
 {
        struct rt_hi_throughput *ht_info = ieee->ht_info;
        struct ht_capab_ele *pPeerHTCap = NULL;
index 6c9b9a416170489f5e902fd57309c8bf1517b170..8e87cbecdc6814e33049a086cd534114302a6a00 100644 (file)
@@ -1756,7 +1756,7 @@ void ht_construct_capability_element(struct rtllib_device *ieee,
                                  u8 isEncrypt, bool bAssoc);
 void ht_construct_rt2rt_agg_element(struct rtllib_device *ieee,
                                u8 *posRT2RTAgg, u8 *len);
-void HTOnAssocRsp(struct rtllib_device *ieee);
+void ht_on_assoc_rsp(struct rtllib_device *ieee);
 void HTInitializeHTInfo(struct rtllib_device *ieee);
 void HTInitializeBssDesc(struct bss_ht *pBssHT);
 void HTResetSelfAndSavePeerSetting(struct rtllib_device *ieee,
index 3fede7a32cd38821121b5114f0b25245854210f9..9c94c5ceccd560f621d16700303ddba2ed1ef43d 100644 (file)
@@ -1064,7 +1064,7 @@ static void rtllib_associate_complete_wq(void *data)
        }
        if (ieee->ht_info->current_ht_support && ieee->ht_info->enable_ht) {
                netdev_info(ieee->dev, "Successfully associated, ht enabled\n");
-               HTOnAssocRsp(ieee);
+               ht_on_assoc_rsp(ieee);
        } else {
                netdev_info(ieee->dev,
                            "Successfully associated, ht not enabled(%d, %d)\n",