Staging: rtl8192e: Rename variable pBssHT
authorTree Davies <tdavies@darkphysics.net>
Sun, 10 Mar 2024 23:55:49 +0000 (16:55 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2024 18:01:12 +0000 (19:01 +0100)
Rename variable pBssHT to bss_ht
to fix checkpatch warning Avoid CamelCase.

Signed-off-by: Tree Davies <tdavies@darkphysics.net>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/20240310235552.4217-9-tdavies@darkphysics.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl819x_HTProc.c
drivers/staging/rtl8192e/rtllib.h

index 1c3ef1b7ebd8c943e51cd8657cbf9b3106b2a23a..618523bacc8ece500a2725ab87a05a0eeb342dae 100644 (file)
@@ -543,19 +543,19 @@ void ht_initialize_ht_info(struct rtllib_device *ieee)
        }
 }
 
-void ht_initialize_bss_desc(struct bss_ht *pBssHT)
+void ht_initialize_bss_desc(struct bss_ht *bss_ht)
 {
-       pBssHT->bd_support_ht = false;
-       memset(pBssHT->bd_ht_cap_buf, 0, sizeof(pBssHT->bd_ht_cap_buf));
-       pBssHT->bd_ht_cap_len = 0;
-       memset(pBssHT->bd_ht_info_buf, 0, sizeof(pBssHT->bd_ht_info_buf));
-       pBssHT->bd_ht_info_len = 0;
+       bss_ht->bd_support_ht = false;
+       memset(bss_ht->bd_ht_cap_buf, 0, sizeof(bss_ht->bd_ht_cap_buf));
+       bss_ht->bd_ht_cap_len = 0;
+       memset(bss_ht->bd_ht_info_buf, 0, sizeof(bss_ht->bd_ht_info_buf));
+       bss_ht->bd_ht_info_len = 0;
 
-       pBssHT->bd_ht_spec_ver = HT_SPEC_VER_IEEE;
+       bss_ht->bd_ht_spec_ver = HT_SPEC_VER_IEEE;
 
-       pBssHT->bd_rt2rt_aggregation = false;
-       pBssHT->bd_rt2rt_long_slot_time = false;
-       pBssHT->rt2rt_ht_mode = (enum rt_ht_capability)0;
+       bss_ht->bd_rt2rt_aggregation = false;
+       bss_ht->bd_rt2rt_long_slot_time = false;
+       bss_ht->rt2rt_ht_mode = (enum rt_ht_capability)0;
 }
 
 void ht_reset_self_and_save_peer_setting(struct rtllib_device *ieee,
index cf75d1225501138c2fd6777f0319d01e4573f9f8..3819a859710dac347bff55faf20ee1a1d5362b38 100644 (file)
@@ -1742,7 +1742,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 ht_initialize_bss_desc(struct bss_ht *pBssHT);
+void ht_initialize_bss_desc(struct bss_ht *bss_ht);
 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,