]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
Staging: rtl8192e: Rename function rtllib_query_HTCapShortGI
authorTree Davies <tdavies@darkphysics.net>
Wed, 12 Jun 2024 03:22:24 +0000 (20:22 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Jun 2024 13:25:23 +0000 (15:25 +0200)
Rename function rtllib_query_HTCapShortGI to
rtllib_query_ht_cap_short_gi to fix checkpatch warning Avoid CamelCase.

Signed-off-by: Tree Davies <tdavies@darkphysics.net>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/20240612032230.9738-19-tdavies@darkphysics.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_tx.c

index 93b9f0609428fb19245acfe1dd13ce2041c13144..6a979151d1d0cec30c999c68c3d0a88a8c13e7cb 100644 (file)
@@ -330,7 +330,7 @@ static void rtllib_query_short_preamble_mode(struct rtllib_device *ieee,
                tcb_desc->bUseShortPreamble = true;
 }
 
-static void rtllib_query_HTCapShortGI(struct rtllib_device *ieee,
+static void rtllib_query_ht_cap_short_gi(struct rtllib_device *ieee,
                                      struct cb_desc *tcb_desc)
 {
        struct rt_hi_throughput *ht_info = ieee->ht_info;
@@ -871,7 +871,7 @@ static int rtllib_xmit_inter(struct sk_buff *skb, struct net_device *dev)
                        rtllib_query_short_preamble_mode(ieee, tcb_desc);
                        rtllib_tx_query_agg_cap(ieee, txb->fragments[0],
                                                tcb_desc);
-                       rtllib_query_HTCapShortGI(ieee, tcb_desc);
+                       rtllib_query_ht_cap_short_gi(ieee, tcb_desc);
                        rtllib_query_bandwidth_mode(ieee, tcb_desc);
                        rtllib_query_protectionmode(ieee, tcb_desc,
                                                    txb->fragments[0]);