staging: rtl8192e: rename variable HTConstructRT2RTAggElement
authorGary Rookard <garyrookard@fastmail.org>
Mon, 11 Dec 2023 00:13:34 +0000 (19:13 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Dec 2023 12:35:44 +0000 (13:35 +0100)
Coding style issue, checkpatch Avoid CamelCase,
rename it. HTConstructRT2RTAggElement -> ht_construct_rt2rt_agg_element

Signed-off-by: Gary Rookard <garyrookard@fastmail.org>
Link: https://lore.kernel.org/r/20231211001335.26169-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 4d6189be6e1bfdfcb6277ce5799ed7c4220a77ef..709382ab7876febd898abce8202015ef4d2d2234 100644 (file)
@@ -318,7 +318,7 @@ void ht_construct_capability_element(struct rtllib_device *ieee, u8 *posHTCap,
        }
 }
 
-void HTConstructRT2RTAggElement(struct rtllib_device *ieee, u8 *posRT2RTAgg,
+void ht_construct_rt2rt_agg_element(struct rtllib_device *ieee, u8 *posRT2RTAgg,
                                u8 *len)
 {
        if (!posRT2RTAgg) {
index ff3ba9bca0237e398e6e35ae14dee857a92fa5ca..0d6144548c3455a277e49082c6ad9ca5ee610e54 100644 (file)
@@ -1758,7 +1758,7 @@ void ht_update_default_setting(struct rtllib_device *ieee);
 void ht_construct_capability_element(struct rtllib_device *ieee,
                                  u8 *posHTCap, u8 *len,
                                  u8 isEncrypt, bool bAssoc);
-void HTConstructRT2RTAggElement(struct rtllib_device *ieee,
+void ht_construct_rt2rt_agg_element(struct rtllib_device *ieee,
                                u8 *posRT2RTAgg, u8 *len);
 void HTOnAssocRsp(struct rtllib_device *ieee);
 void HTInitializeHTInfo(struct rtllib_device *ieee);
index fe118548d2a345cb7e3c5132b9f7232328cbc410..ee527ba5d1a86a760fae81ad882000da874eb002 100644 (file)
@@ -736,7 +736,7 @@ rtllib_association_req(struct rtllib_network *beacon,
                        realtek_ie_buf = ieee->ht_info->sz_rt2rt_agg_buf;
                        realtek_ie_len =
                                 sizeof(ieee->ht_info->sz_rt2rt_agg_buf);
-                       HTConstructRT2RTAggElement(ieee, realtek_ie_buf,
+                       ht_construct_rt2rt_agg_element(ieee, realtek_ie_buf,
                                                   &realtek_ie_len);
                }
        }