mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 00:47:56 -04:00
staging: vt6655: s_uGetDataDuration: Rename uFragIdx parameter
This patch renames uFragIdx to frag_idx 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-8-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
b15914b713
commit
2ecc3fe863
@@ -244,7 +244,7 @@ s_uGetDataDuration(
|
||||
unsigned char pkt_type,
|
||||
unsigned short rate,
|
||||
bool need_ack,
|
||||
unsigned int uFragIdx,
|
||||
unsigned int frag_idx,
|
||||
unsigned int cbLastFragmentSize,
|
||||
unsigned int uMACfragNum,
|
||||
unsigned char byFBOption
|
||||
@@ -253,10 +253,10 @@ s_uGetDataDuration(
|
||||
bool bLastFrag = false;
|
||||
unsigned int uAckTime = 0, uNextPktTime = 0, len;
|
||||
|
||||
if (uFragIdx == (uMACfragNum - 1))
|
||||
if (frag_idx == (uMACfragNum - 1))
|
||||
bLastFrag = true;
|
||||
|
||||
if (uFragIdx == (uMACfragNum - 2))
|
||||
if (frag_idx == (uMACfragNum - 2))
|
||||
len = cbLastFragmentSize;
|
||||
else
|
||||
len = frame_length;
|
||||
|
||||
Reference in New Issue
Block a user