This patch renames uMACfragNum to mac_frag_num in s_uGetDataDuration
function in order to avoid using camel case.
Signed-off-by: Dominik Karol Piątkowski <dominik.karol.piatkowski@protonmail.com>
---
drivers/staging/vt6655/rxtx.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c
index 1d0b5b8f09c2..ca92dd72cb72 100644
--- a/drivers/staging/vt6655/rxtx.c
+++ b/drivers/staging/vt6655/rxtx.c
@@ -237,17 +237,17 @@ s_uGetDataDuration(
bool need_ack,
unsigned int frag_idx,
unsigned int last_fragment_size,
- unsigned int uMACfragNum,
+ unsigned int mac_frag_num,
unsigned char byFBOption
)
{
bool bLastFrag = false;
unsigned int uAckTime = 0, uNextPktTime = 0, len;
- if (frag_idx == (uMACfragNum - 1))
+ if (frag_idx == (mac_frag_num - 1))
bLastFrag = true;
- if (frag_idx == (uMACfragNum - 2))
+ if (frag_idx == (mac_frag_num - 2))
len = last_fragment_size;
else
len = frame_length;
@@ -260,7 +260,7 @@ s_uGetDataDuration(
priv->byTopCCKBasicRate);
}
/* Non Frag or Last Frag */
- if ((uMACfragNum == 1) || bLastFrag) {
+ if ((mac_frag_num == 1) || bLastFrag) {
if (!need_ack)
return 0;
} else {
@@ -278,7 +278,7 @@ s_uGetDataDuration(
priv->byTopOFDMBasicRate);
}
/* Non Frag or Last Frag */
- if ((uMACfragNum == 1) || bLastFrag) {
+ if ((mac_frag_num == 1) || bLastFrag) {
if (!need_ack)
return 0;
} else {
@@ -297,7 +297,7 @@ s_uGetDataDuration(
priv->byTopOFDMBasicRate);
}
/* Non Frag or Last Frag */
- if ((uMACfragNum == 1) || bLastFrag) {
+ if ((mac_frag_num == 1) || bLastFrag) {
if (!need_ack)
return 0;
} else {
--
2.34.1