From nobody Sun Dec 28 21:18:21 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CB8C3C4167B for ; Tue, 5 Dec 2023 23:16:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235126AbjLEXQc (ORCPT ); Tue, 5 Dec 2023 18:16:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229591AbjLEXQV (ORCPT ); Tue, 5 Dec 2023 18:16:21 -0500 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A6B8D7F for ; Tue, 5 Dec 2023 15:16:20 -0800 (PST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 9BBA33200ADA; Tue, 5 Dec 2023 18:16:19 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 05 Dec 2023 18:16:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.org; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1701818179; x= 1701904579; bh=g87UGPn1eU4AoTaT2s2jVXV+I8zvuughjKi3FJl/6ng=; b=f goSTBGDI9VCcGy1AMaXBrxF5LXjRqQv9JBrsahGdOc2K/IZPOvoI6mZ4l7MJ3GV9 HyPWm2Q//Py4zEzaGuG3WorTSlXtGfrrK8GzeLlntzuplPcPnPFX1Ya8DQ8ccu40 qKbvzMT+PUHPQW5R9a1oPz1dEoMlpHwYBgA+5Vq4kngdVl8opI+0q2TeggFOe3u2 8TDS8omT2Bphrx3hnR8KJIaqW+Rk2XFSVD9oNYdin2rBoQMdB5JTLt5BfX61NxEa fkZHglVx3FmtEjw/2Pf57ySOa4A8Bm2a9YCzMSaMU1F4BHyOT8brmEVvIVr7BPqN lBaPiJzifukseJ+zT21eg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1701818179; x= 1701904579; bh=g87UGPn1eU4AoTaT2s2jVXV+I8zvuughjKi3FJl/6ng=; b=C waAKx7FySiW5XY3++EMqJqxnK0rfGAWwL7K2Bod0lw1hoAu9ZcyRCUbYG2LwiOf2 pUovK4W/TAJCIaV8+eEAhuvN18RWTw1J1uPSG7KwW6eOwIodlKFwEF3IBFDGEHOl /mSdwoC5q68WKl67bw9TZkjzoUhNcTAQ97X0eSEmNnZhbFPmN/y55/NM288vnO7+ vyBwOB73bBjBVBeMauQse6+K+wpSb7YGC/vanBU71kp49vytU59lxfPPMCopiISL WdRooATuHtqHT9ZTPcBAI52aiu+Bm2OlqehaXxUKNQwk9/dFTZaAlpjx5XxuY2vC N3HK8jWOPJOiptAH49BEw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudejledgtdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpefirghrhicutfhoohhkrghrugcuoehgrghrhihrohhokhgr rhgusehfrghsthhmrghilhdrohhrgheqnecuggftrfgrthhtvghrnhepkeeuvdffueduke egieeuffejhefgkeetfeehueelfeduuefgveellefhfefgjedvnecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepghgrrhihrhhoohhkrghrugesfh grshhtmhgrihhlrdhorhhg X-ME-Proxy: Feedback-ID: ifd194980:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 5 Dec 2023 18:16:18 -0500 (EST) From: Gary Rookard To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Gary Rookard Subject: [PATCH 4/5] staging: rtl8192e: renamed variable bRegSuppCCK Date: Tue, 5 Dec 2023 18:16:22 -0500 Message-ID: <20231205231623.23070-5-garyrookard@fastmail.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231205231623.23070-1-garyrookard@fastmail.org> References: <20231205231623.23070-1-garyrookard@fastmail.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Coding style issue, checkpatch Avoid CamelCase, rename it bRegSuppCCK -> reg_supp_cck Signed-off-by: Gary Rookard --- drivers/staging/rtl8192e/rtl819x_HT.h | 2 +- drivers/staging/rtl8192e/rtl819x_HTProc.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HT.h b/drivers/staging/rtl819= 2e/rtl819x_HT.h index ef88d7d713fb..c3efff2873d4 100644 --- a/drivers/staging/rtl8192e/rtl819x_HT.h +++ b/drivers/staging/rtl8192e/rtl819x_HT.h @@ -100,7 +100,7 @@ struct rt_hi_throughput { u8 bCurShortGI40MHz; u8 reg_short_gi_20mhz; u8 bCurShortGI20MHz; - u8 bRegSuppCCK; + u8 reg_supp_cck; u8 bCurSuppCCK; enum ht_spec_ver ePeerHTSpecVer; struct ht_capab_ele SelfHTCap; diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rt= l8192e/rtl819x_HTProc.c index 68ad082d41be..910f8e9c9394 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -77,9 +77,9 @@ void ht_update_default_setting(struct rtllib_device *ieee) ht_info->reg_bw_40mhz =3D 1; =20 if (ht_info->reg_bw_40mhz) - ht_info->bRegSuppCCK =3D 1; + ht_info->reg_supp_cck =3D 1; else - ht_info->bRegSuppCCK =3D true; + ht_info->reg_supp_cck =3D true; =20 ht_info->nAMSDU_MaxSize =3D 7935UL; ht_info->bAMSDU_Support =3D 0; @@ -286,7 +286,7 @@ void HTConstructCapabilityElement(struct rtllib_device = *ieee, u8 *posHTCap, pCapELE->RxSTBC =3D 0; pCapELE->DelayBA =3D 0; pCapELE->MaxAMSDUSize =3D (MAX_RECEIVE_BUFFER_SIZE >=3D 7935) ? 1 : 0; - pCapELE->DssCCk =3D ((pHT->reg_bw_40mhz) ? (pHT->bRegSuppCCK ? 1 : 0) : 0= ); + pCapELE->DssCCk =3D ((pHT->reg_bw_40mhz) ? (pHT->reg_supp_cck ? 1 : 0) : = 0); pCapELE->PSMP =3D 0; pCapELE->LSigTxopProtect =3D 0; =20 @@ -485,7 +485,7 @@ void HTOnAssocRsp(struct rtllib_device *ieee) ((pPeerHTCap->ShortGI40Mhz =3D=3D 1) ? true : false) : false); =20 - ht_info->bCurSuppCCK =3D ((ht_info->bRegSuppCCK) ? + ht_info->bCurSuppCCK =3D ((ht_info->reg_supp_cck) ? ((pPeerHTCap->DssCCk =3D=3D 1) ? true : false) : false); =20 --=20 2.41.0