public inbox for linux-staging@lists.linux.dev
 help / color / mirror / Atom feed
From: Tree Davies <tdavies@darkphysics.net>
To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com, anjan@momi.ca
Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org,
	Tree Davies <tdavies@darkphysics.net>
Subject: [PATCH v2 20/20] Staging: rtl8192e: Rename function MgntQuery_MgntFrameTxRate
Date: Mon, 26 Feb 2024 20:41:57 -0800	[thread overview]
Message-ID: <20240227044157.407379-21-tdavies@darkphysics.net> (raw)
In-Reply-To: <20240227044157.407379-1-tdavies@darkphysics.net>

Rename function MgntQuery_MgntFrameTxRate to mgnt_query_mgnt_frame_tx_rate
to fix checkpatch warning Avoid CamelCase.

Signed-off-by: Tree Davies <tdavies@darkphysics.net>
---
v2: no changes
 drivers/staging/rtl8192e/rtllib_softmac.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c
index afa789fd1266..97fdca828da7 100644
--- a/drivers/staging/rtl8192e/rtllib_softmac.c
+++ b/drivers/staging/rtl8192e/rtllib_softmac.c
@@ -163,7 +163,7 @@ u8 mgnt_query_tx_rate_exclude_cck_rates(struct rtllib_device *ieee)
 	return query_rate;
 }
 
-static u8 MgntQuery_MgntFrameTxRate(struct rtllib_device *ieee)
+static u8 mgnt_query_mgnt_frame_tx_rate(struct rtllib_device *ieee)
 {
 	struct rt_hi_throughput *ht_info = ieee->ht_info;
 	u8 rate;
@@ -201,7 +201,7 @@ inline void softmac_mgmt_xmit(struct sk_buff *skb, struct rtllib_device *ieee)
 	if (ieee->disable_mgnt_queue)
 		tcb_desc->queue_index = HIGH_QUEUE;
 
-	tcb_desc->data_rate = MgntQuery_MgntFrameTxRate(ieee);
+	tcb_desc->data_rate = mgnt_query_mgnt_frame_tx_rate(ieee);
 	tcb_desc->ratr_index = 7;
 	tcb_desc->tx_dis_rate_fallback = 1;
 	tcb_desc->tx_use_drv_assinged_rate = 1;
@@ -277,7 +277,7 @@ softmac_ps_mgmt_xmit(struct sk_buff *skb,
 	if (ieee->disable_mgnt_queue)
 		tcb_desc->queue_index = HIGH_QUEUE;
 
-	tcb_desc->data_rate = MgntQuery_MgntFrameTxRate(ieee);
+	tcb_desc->data_rate = mgnt_query_mgnt_frame_tx_rate(ieee);
 	tcb_desc->ratr_index = 7;
 	tcb_desc->tx_dis_rate_fallback = 1;
 	tcb_desc->tx_use_drv_assinged_rate = 1;
-- 
2.39.2


  parent reply	other threads:[~2024-02-27  4:42 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-27  4:41 [PATCH v2 00/20] Staging: rtl8192e: Fix checkpatch warning for rtllib_softmac.c Tree Davies
2024-02-27  4:41 ` [PATCH v2 01/20] Staging: rtl8192e: Rename function rtllib_rx_ADDBAReq() Tree Davies
2024-02-27  4:41 ` [PATCH v2 02/20] Staging: rtl8192e: Rename variable NumRecvDataInPeriod Tree Davies
2024-02-27  4:41 ` [PATCH v2 03/20] Staging: rtl8192e: Rename function SecIsInPMKIDList() Tree Davies
2024-02-27  4:41 ` [PATCH v2 04/20] Staging: rtl8192e: Rename variable PMKIDList Tree Davies
2024-02-27  4:41 ` [PATCH v2 05/20] Staging: rtl8192e: Rename variable Turbo_Enable Tree Davies
2024-02-27  4:41 ` [PATCH v2 06/20] Staging: rtl8192e: Rename variable osCcxRmCap Tree Davies
2024-02-27  4:41 ` [PATCH v2 07/20] Staging: rtl8192e: Rename variable bCkipSupported Tree Davies
2024-02-27  4:41 ` [PATCH v2 08/20] Staging: rtl8192e: Rename variable bCcxRmEnable Tree Davies
2024-02-27  4:41 ` [PATCH v2 09/20] Staging: rtl8192e: Rename variable CcxRmCapBuf Tree Davies
2024-02-27  4:41 ` [PATCH v2 10/20] Staging: rtl8192e: Rename variable BssCcxVerNumber Tree Davies
2024-02-27  4:41 ` [PATCH v2 11/20] Staging: rtl8192e: Rename variable CcxVerNumBuf Tree Davies
2024-02-27  4:41 ` [PATCH v2 12/20] Staging: rtl8192e: Rename variable asRsn Tree Davies
2024-02-27  4:41 ` [PATCH v2 13/20] Staging: rtl8192e: Rename variable AironetIeOui Tree Davies
2024-02-27  4:41 ` [PATCH v2 14/20] Staging: rtl8192e: Rename variable osCcxAironetIE Tree Davies
2024-02-27  4:41 ` [PATCH v2 15/20] Staging: rtl8192e: Rename variable CcxAironetBuf Tree Davies
2024-02-27  4:41 ` [PATCH v2 16/20] Staging: rtl8192e: Rename varoable osCcxVerNum Tree Davies
2024-02-27  4:41 ` [PATCH v2 17/20] Staging: rtl8192e: Rename varoable asSta Tree Davies
2024-02-27  4:41 ` [PATCH v2 18/20] Staging: rtl8192e: Rename reference AllowAllDestAddrHandler Tree Davies
2024-02-27  4:41 ` [PATCH v2 19/20] Staging: rtl8192e: Rename boolean variable bHalfWirelessN24GMode Tree Davies
2024-02-27  4:41 ` Tree Davies [this message]
2024-02-27 20:12 ` [PATCH v2 00/20] Staging: rtl8192e: Fix checkpatch warning for rtllib_softmac.c Philipp Hortmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240227044157.407379-21-tdavies@darkphysics.net \
    --to=tdavies@darkphysics.net \
    --cc=anjan@momi.ca \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=philipp.g.hortmann@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox