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@xxxxxxxxxxxxxx> --- drivers/staging/vt6655/rxtx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c index 72837898ea29..3d7bdcba83a9 100644 --- a/drivers/staging/vt6655/rxtx.c +++ b/drivers/staging/vt6655/rxtx.c @@ -235,7 +235,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 @@ -244,10 +244,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; -- 2.34.1