[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240918191959.51539-9-dominik.karol.piatkowski@protonmail.com>
Date: Wed, 18 Sep 2024 19:21:26 +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 08/14] staging: vt6655: s_uGetDataDuration: Rename cbLastFragmentSize parameter
This patch renames cbLastFragmentSize to last_fragment_size 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 3d7bdcba83a9..1d0b5b8f09c2 100644
--- a/drivers/staging/vt6655/rxtx.c
+++ b/drivers/staging/vt6655/rxtx.c
@@ -236,7 +236,7 @@ s_uGetDataDuration(
unsigned short rate,
bool need_ack,
unsigned int frag_idx,
- unsigned int cbLastFragmentSize,
+ unsigned int last_fragment_size,
unsigned int uMACfragNum,
unsigned char byFBOption
)
@@ -248,7 +248,7 @@ s_uGetDataDuration(
bLastFrag = true;
if (frag_idx == (uMACfragNum - 2))
- len = cbLastFragmentSize;
+ len = last_fragment_size;
else
len = frame_length;
--
2.34.1
Powered by blists - more mailing lists