mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 04:19:23 -04:00
staging: vt6655: s_uGetDataDuration: Rename cbFrameLength parameter
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> Link: https://lore.kernel.org/r/20240918191959.51539-4-dominik.karol.piatkowski@protonmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
0d90f4f792
commit
d56397f1eb
@@ -240,7 +240,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,
|
||||
@@ -259,7 +259,7 @@ s_uGetDataDuration(
|
||||
if (uFragIdx == (uMACfragNum - 2))
|
||||
len = cbLastFragmentSize;
|
||||
else
|
||||
len = cbFrameLength;
|
||||
len = frame_length;
|
||||
|
||||
switch (dur_type) {
|
||||
case DATADUR_B: /* DATADUR_B */
|
||||
|
||||
Reference in New Issue
Block a user