[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240918191959.51539-4-dominik.karol.piatkowski@protonmail.com>
Date: Wed, 18 Sep 2024 19:21:03 +0000
From: Dominik Karol Piątkowski <dominik.karol.piatkowski@...tonmail.com>
To: philipp.g.hortmann@...il.com, gregkh@...uxfoundation.org
Cc: linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org, Dominik Karol Piątkowski <dominik.karol.piatkowski@...tonmail.com>
Subject: [PATCH 03/14] staging: vt6655: s_uGetDataDuration: Rename cbFrameLength parameter
This patch renames cbFrameLength to frame_length in s_uGetDataDuration
function in order to avoid using camel case.
Signed-off-by: Dominik Karol Piątkowski <dominik.karol.piatkowski@...tonmail.com>
---
drivers/staging/vt6655/rxtx.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c
index 239fa4a1af66..1747018e747a 100644
--- a/drivers/staging/vt6655/rxtx.c
+++ b/drivers/staging/vt6655/rxtx.c
@@ -231,7 +231,7 @@ unsigned int
s_uGetDataDuration(
struct vnt_private *priv,
unsigned char dur_type,
- unsigned int cbFrameLength,
+ unsigned int frame_length,
unsigned char byPktType,
unsigned short wRate,
bool bNeedAck,
@@ -250,7 +250,7 @@ s_uGetDataDuration(
if (uFragIdx == (uMACfragNum - 2))
len = cbLastFragmentSize;
else
- len = cbFrameLength;
+ len = frame_length;
switch (dur_type) {
case DATADUR_B: /* DATADUR_B */
--
2.34.1
Powered by blists - more mailing lists