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