staging: rtl8192e: rename variable HTInitializeBssDesc
authorGary Rookard <garyrookard@fastmail.org>
Thu, 21 Dec 2023 18:34:09 +0000 (13:34 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Dec 2023 13:09:13 +0000 (14:09 +0100)
Coding style issue, checkpatch Avoid CamelCase,
rename it. HTInitializeBssDesc -> ht_initialize_bss_desc

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

index 0d57bcda33b4d0f02a0372a7a5211757619fdb34..edfc2c7461ee11e55e6e428dd65b84015def9cc8 100644 (file)
@@ -543,7 +543,7 @@ void ht_initialize_ht_info(struct rtllib_device *ieee)
        }
 }
 
-void HTInitializeBssDesc(struct bss_ht *pBssHT)
+void ht_initialize_bss_desc(struct bss_ht *pBssHT)
 {
        pBssHT->bd_support_ht = false;
        memset(pBssHT->bd_ht_cap_buf, 0, sizeof(pBssHT->bd_ht_cap_buf));
index 4df46eae6aa89f2ea730aa23dbb483ccff4952b7..193b4a5a7c04955d32d8385e8c1328e1d6f9508f 100644 (file)
@@ -1758,7 +1758,7 @@ void ht_construct_rt2rt_agg_element(struct rtllib_device *ieee,
                                u8 *posRT2RTAgg, u8 *len);
 void ht_on_assoc_rsp(struct rtllib_device *ieee);
 void ht_initialize_ht_info(struct rtllib_device *ieee);
-void HTInitializeBssDesc(struct bss_ht *pBssHT);
+void ht_initialize_bss_desc(struct bss_ht *pBssHT);
 void HTResetSelfAndSavePeerSetting(struct rtllib_device *ieee,
                                   struct rtllib_network *pNetwork);
 void HT_update_self_and_peer_setting(struct rtllib_device *ieee,
index 196eacc7a768aaac9ceab0f599abddf099601abc..5f219cfb65eb4fb9bd0ef1ec8d27bb7e85ee9731 100644 (file)
@@ -2189,7 +2189,7 @@ static inline int rtllib_network_init(
        network->RSSI = stats->SignalStrength;
        network->CountryIeLen = 0;
        memset(network->CountryIeBuf, 0, MAX_IE_LEN);
-       HTInitializeBssDesc(&network->bssht);
+       ht_initialize_bss_desc(&network->bssht);
        network->flags |= NETWORK_HAS_CCK;
 
        network->wpa_ie_len = 0;