From nobody Fri Nov 29 17:41:56 2024 Received: from mail-4316.protonmail.ch (mail-4316.protonmail.ch [185.70.43.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ED8DF1CA6BB for ; Wed, 18 Sep 2024 19:21:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.70.43.16 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726687319; cv=none; b=oCwLa/9BxofWuOtLkmc1ic5OtNDN5qSY1T1SnKdyhTfn3/6g5nx+6HsWWTzr/Y6ZGSNvU9ueeiOJe2Ue78DlldGI95Sp0zhJpBnD9VfLRXtmYn9plhoRXowC4t5KABC+A4Jl1nE00GWf5UzbGn+t2muDCxs0itnBbM++ioq2Tnk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726687319; c=relaxed/simple; bh=fuaKvqkqWwqKbWlbfPmd5BGEos3ZTs9JotBiXBOthYA=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=IDgvRTPspV5qJ/bwi9B0AaZBNFe9BACb3+KPwFYN4snYc+uSxLsLZyqmvnYgk0Ph4wqHQVva6zSTh9Nb/ki4xg5VMhxnsYYo9b6rIa8x27rxxvvzSro2dtr8IGJaAfae+ZPbpTf6NCz+2QiTJZRNfHYUEno/V96oetX5qpDWdNA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=protonmail.com; spf=pass smtp.mailfrom=protonmail.com; dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com header.b=Y1vW3z/x; arc=none smtp.client-ip=185.70.43.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=protonmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=protonmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com header.b="Y1vW3z/x" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1726687315; x=1726946515; bh=sfltv+vZ9IM5vljZnKyjZ5FCcX3z51Rc/RZAKPMaCHc=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=Y1vW3z/x8sVoEddREsq9iK4RwgWm4WC/Nn+OS4wT7Hlt9CiT5Fwqc58W9oWzs6aS0 i0MBn8R30kByJB7CJO2Pc9hmtxWyqwSUkV6S7SlOcvKq5rffG9zQQlW2eYxIoAXzAt ysn1Ev3GGG3RQZ9K5M87v8x5/EUm0ymqaVJQfTHT4OQkGYvaryMRWSJNXMNxdAg/aL aRl01Sng95puW3mmPHaNwLbck8L3xUdd7w8DvCdUqjp1Pm8w5tfvyos9j7EZG9Jiou 6leNWh6GRw+cIzjzEXP7gdO3JCTr8B8aJ3WS3klSlhmhHkPN/KOUVpgvr/VW/hr1b0 K6DDI5V+A2K8g== Date: Wed, 18 Sep 2024 19:21:51 +0000 To: philipp.g.hortmann@gmail.com, gregkh@linuxfoundation.org From: =?utf-8?Q?Dominik_Karol_Pi=C4=85tkowski?= Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, =?utf-8?Q?Dominik_Karol_Pi=C4=85tkowski?= Subject: [PATCH 12/14] staging: vt6655: s_uGetDataDuration: Rename uAckTime variable Message-ID: <20240918191959.51539-13-dominik.karol.piatkowski@protonmail.com> In-Reply-To: <20240918191959.51539-1-dominik.karol.piatkowski@protonmail.com> References: <20240918191959.51539-1-dominik.karol.piatkowski@protonmail.com> Feedback-ID: 117888567:user:proton X-Pm-Message-ID: f4eac2a3721997fbe84b1cdb2b66fd6567adaf11 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This patch renames uAckTime to ack_time in s_uGetDataDuration function in order to avoid using camel case. Signed-off-by: Dominik Karol Pi=C4=85tkowski --- drivers/staging/vt6655/rxtx.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c index 4b0a768cf77b..8f28fd1465d4 100644 --- a/drivers/staging/vt6655/rxtx.c +++ b/drivers/staging/vt6655/rxtx.c @@ -242,7 +242,7 @@ s_uGetDataDuration( ) { bool last_frag =3D false; - unsigned int uAckTime =3D 0, uNextPktTime =3D 0, len; + unsigned int ack_time =3D 0, uNextPktTime =3D 0, len; =20 if (frag_idx =3D=3D (mac_frag_num - 1)) last_frag =3D true; @@ -255,7 +255,7 @@ s_uGetDataDuration( switch (dur_type) { case DATADUR_B: /* DATADUR_B */ if (need_ack) { - uAckTime =3D bb_get_frame_time(priv->preamble_type, + ack_time =3D bb_get_frame_time(priv->preamble_type, pkt_type, 14, priv->byTopCCKBasicRate); } @@ -269,11 +269,11 @@ s_uGetDataDuration( len, rate, need_ack); } =20 - return priv->uSIFS + uAckTime + uNextPktTime; + return priv->uSIFS + ack_time + uNextPktTime; =20 case DATADUR_A: /* DATADUR_A */ if (need_ack) { - uAckTime =3D bb_get_frame_time(priv->preamble_type, + ack_time =3D bb_get_frame_time(priv->preamble_type, pkt_type, 14, priv->byTopOFDMBasicRate); } @@ -287,12 +287,12 @@ s_uGetDataDuration( len, rate, need_ack); } =20 - return priv->uSIFS + uAckTime + uNextPktTime; + return priv->uSIFS + ack_time + uNextPktTime; =20 case DATADUR_A_F0: /* DATADUR_A_F0 */ case DATADUR_A_F1: /* DATADUR_A_F1 */ if (need_ack) { - uAckTime =3D bb_get_frame_time(priv->preamble_type, + ack_time =3D bb_get_frame_time(priv->preamble_type, pkt_type, 14, priv->byTopOFDMBasicRate); } @@ -318,7 +318,7 @@ s_uGetDataDuration( len, rate, need_ack); } =20 - return priv->uSIFS + uAckTime + uNextPktTime; + return priv->uSIFS + ack_time + uNextPktTime; =20 default: break; --=20 2.34.1