From nobody Fri Dec 26 13:28:20 2025 Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 88CEE1097F for ; Sat, 6 Jan 2024 05:56:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=darkphysics.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=darkphysics.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="BSHlyqdj" Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-6d9a795cffbso186593b3a.0 for ; Fri, 05 Jan 2024 21:56:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1704520584; x=1705125384; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=jwfwhIccyziHiwo66eg7faLZcAMdjGptODSVe+nyh+Q=; b=BSHlyqdjun1uyfpUKTAwclb7XuEe2lJOP4M3kaubPKZ7yodb/0shCPFpH79lDipRcM sxEfPFlvNwB29rIX4uq5EAtDuV33mhpmJQlSaOwyLXVQEhSToFKdmTS5fOmtvzp5T3vT 0dzkD/ysSGEv5913mv4wXX8vBjhUcetutpTGufR8BhBJj6B67B8Y6VcNQ7/oVtllaly5 M1MQkzkUI3NIiOZtOXnHfEZH6TtQ2Npeky315X1jaaBizUqkcqmgbNy4FAplfbO2YeY4 f+InMzckeFsQLNdqsEsJTR4+CazvYa45OstgN+9gQv4I1B/aJPlUq0esImlEhlJVTCBg QxaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704520584; x=1705125384; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jwfwhIccyziHiwo66eg7faLZcAMdjGptODSVe+nyh+Q=; b=DMLXZ3Gz2eOwaxOmrXs7esmrUyl6gdlhgh05rN638p/TCrdjgPRvz/S0uW9bdE823i uVJALUHwdgbEgOlQIWKZjzdaTDhiwBFpKBRNi3555oA6QO+i4Z3aiRa+DpW95aK+Pi+5 NNJpd0K29SSCAtfmxjAum7DLZcfftHf1AAEqyTZXs3/IkzbMXZnQJTGt+okj7EB5YnZC Cxwc0E1Fi5Aen+IJzjEyjq30zJyGdhWi9FikLVMTUfeMsWInz8vVHrepmnZIZpHI0EDE VnO2IcmQwlaK1evgYdxMd80r7ZAtiWHR7BkRAC2oHEGnsVAXfdQKBnr9bTjqnlLDVvS3 W8KA== X-Gm-Message-State: AOJu0YzpSnBaLQttz0hqlJEJNrlSuvxx2KK2+QLJTGIsyenms66RrcJ0 /r5dvyYPVBfksvxQtyzbVSQdZR1pXmTzmC3hPB7E4sgbDds= X-Google-Smtp-Source: AGHT+IHLv+e/knL2B/INmeZsc8iZq7Ok/BFetW23w2eIwIYNTqywnr9LhR0sSs0Xl/U/d6mSbtaKEA== X-Received: by 2002:a05:6a00:464c:b0:6da:c207:a2c7 with SMTP id kp12-20020a056a00464c00b006dac207a2c7mr4692549pfb.15.1704520583941; Fri, 05 Jan 2024 21:56:23 -0800 (PST) Received: from oatmeal.darkphysics (c-76-146-178-2.hsd1.wa.comcast.net. [76.146.178.2]) by smtp.gmail.com with ESMTPSA id y29-20020a056a00181d00b006d99d986624sm2280873pfa.151.2024.01.05.21.56.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jan 2024 21:56:23 -0800 (PST) From: Tree Davies To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com, anjan@momi.ca Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Tree Davies Subject: [PATCH 18/21] Staging: rtl8192e: Rename variable bHalfSupportNmode Date: Fri, 5 Jan 2024 21:55:53 -0800 Message-Id: <20240106055556.430948-19-tdavies@darkphysics.net> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240106055556.430948-1-tdavies@darkphysics.net> References: <20240106055556.430948-1-tdavies@darkphysics.net> 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" Rename variable bHalfSupportNmode to half_support_nmode to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtllib_softmac.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rt= l8192e/rtllib_softmac.c index b422ffbf0cbc..5305486c9594 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -1648,7 +1648,7 @@ static void rtllib_rx_auth_resp(struct rtllib_device = *ieee, struct sk_buff *skb) int errcode; u8 *challenge; int chlen =3D 0; - bool support_nmode =3D true, bHalfSupportNmode =3D false; + bool support_nmode =3D true, half_support_nmode =3D false; =20 errcode =3D auth_parse(ieee->dev, skb, &challenge, &chlen); =20 @@ -1667,10 +1667,10 @@ static void rtllib_rx_auth_resp(struct rtllib_devic= e *ieee, struct sk_buff *skb) if (!ieee->GetNmodeSupportBySecCfg(ieee->dev)) { if (is_ht_half_nmode_aps(ieee)) { support_nmode =3D true; - bHalfSupportNmode =3D true; + half_support_nmode =3D true; } else { support_nmode =3D false; - bHalfSupportNmode =3D false; + half_support_nmode =3D false; } } } @@ -1684,7 +1684,7 @@ static void rtllib_rx_auth_resp(struct rtllib_device = *ieee, struct sk_buff *skb) } =20 if ((ieee->current_network.mode =3D=3D WIRELESS_MODE_N_24G) && - bHalfSupportNmode) { + half_support_nmode) { netdev_info(ieee->dev, "=3D=3D=3D=3D=3D=3D>enter half N mode\n"); ieee->bHalfWirelessN24GMode =3D true; } else { --=20 2.39.2