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 cbLastFragmentSize parameter
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> Link: https://lore.kernel.org/r/20240918191959.51539-9-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
2ecc3fe863
commit
b8ba62bfc5
@@ -245,7 +245,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
|
||||
)
|
||||
@@ -257,7 +257,7 @@ s_uGetDataDuration(
|
||||
bLastFrag = true;
|
||||
|
||||
if (frag_idx == (uMACfragNum - 2))
|
||||
len = cbLastFragmentSize;
|
||||
len = last_fragment_size;
|
||||
else
|
||||
len = frame_length;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user