staging: vt6655: s_uGetDataDuration: Rename byDurType parameter

This patch renames byDurType to dur_type in s_uGetDataDuration function
in order to avoid using camel case.

Signed-off-by: Dominik Karol Piątkowski <dominik.karol.piatkowski@protonmail.com>
Link: https://lore.kernel.org/r/20240918191959.51539-3-dominik.karol.piatkowski@protonmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Dominik Karol Piątkowski
2024-09-18 19:20:57 +00:00
committed by Greg Kroah-Hartman
parent ad43c5c60c
commit 0d90f4f792

View File

@@ -239,7 +239,7 @@ static
unsigned int
s_uGetDataDuration(
struct vnt_private *priv,
unsigned char byDurType,
unsigned char dur_type,
unsigned int cbFrameLength,
unsigned char byPktType,
unsigned short wRate,
@@ -261,7 +261,7 @@ s_uGetDataDuration(
else
len = cbFrameLength;
switch (byDurType) {
switch (dur_type) {
case DATADUR_B: /* DATADUR_B */
if (bNeedAck) {
uAckTime = bb_get_frame_time(priv->preamble_type,