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@protonmail.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