[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240918191959.51539-8-dominik.karol.piatkowski@protonmail.com>
Date: Wed, 18 Sep 2024 19:21:20 +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 07/14] staging: vt6655: s_uGetDataDuration: Rename uFragIdx parameter
This patch renames uFragIdx to frag_idx 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 | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c
index 72837898ea29..3d7bdcba83a9 100644
--- a/drivers/staging/vt6655/rxtx.c
+++ b/drivers/staging/vt6655/rxtx.c
@@ -235,7 +235,7 @@ s_uGetDataDuration(
unsigned char pkt_type,
unsigned short rate,
bool need_ack,
- unsigned int uFragIdx,
+ unsigned int frag_idx,
unsigned int cbLastFragmentSize,
unsigned int uMACfragNum,
unsigned char byFBOption
@@ -244,10 +244,10 @@ s_uGetDataDuration(
bool bLastFrag = false;
unsigned int uAckTime = 0, uNextPktTime = 0, len;
- if (uFragIdx == (uMACfragNum - 1))
+ if (frag_idx == (uMACfragNum - 1))
bLastFrag = true;
- if (uFragIdx == (uMACfragNum - 2))
+ if (frag_idx == (uMACfragNum - 2))
len = cbLastFragmentSize;
else
len = frame_length;
--
2.34.1
Powered by blists - more mailing lists