From: Tree Davies Date: Wed, 12 Jun 2024 03:22:24 +0000 (-0700) Subject: Staging: rtl8192e: Rename function rtllib_query_HTCapShortGI X-Git-Tag: v6.11-rc1~101^2~57 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8b3d9e8c3454bbd4d39c335088b7ceb00ef9f1c6;p=thirdparty%2Flinux.git Staging: rtl8192e: Rename function rtllib_query_HTCapShortGI Rename function rtllib_query_HTCapShortGI to rtllib_query_ht_cap_short_gi to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies Tested-by: Philipp Hortmann Reviewed-by: Dan Carpenter Link: https://lore.kernel.org/r/20240612032230.9738-19-tdavies@darkphysics.net Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192e/rtllib_tx.c b/drivers/staging/rtl8192e/rtllib_tx.c index 93b9f0609428f..6a979151d1d0c 100644 --- a/drivers/staging/rtl8192e/rtllib_tx.c +++ b/drivers/staging/rtl8192e/rtllib_tx.c @@ -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]);