Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp549228rdb; Fri, 5 Jan 2024 21:57:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IFtpu4gaQuLJJJmqjhLeX+ZaDDKHvwAjJQpE26QRgWrQF97DkLUCjQF+3dW4sE3gpCW8cP/ X-Received: by 2002:a05:600c:3154:b0:40c:32d5:18e1 with SMTP id h20-20020a05600c315400b0040c32d518e1mr250320wmo.179.1704520665612; Fri, 05 Jan 2024 21:57:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704520665; cv=none; d=google.com; s=arc-20160816; b=O0wNkLThWMHYQRDviAXC+GELSWteecimppss4GB+pTiJw0xCOA16/xktunjr+GKdnl ZM3NK902KVwGLhjLGUJHTqi4nt3jMw0wuW5xF7Gi/EiLFq7oG+ch23bA5daq280Vmzi5 7PvMT0yYhKO62LT6Rz4YV18bntJagSfUADH2QaobpF7btOc56lwXqen+VvPpHhfOuAl0 //f9gcwYbN953hU4OHzaYUCCUrx5+0icU7cwWPY60C/n64EDgmI5wcDX5OsSKaYh9YxW +qh7TQi48/9d6chDke6ffcj1tlGM/IIU2vqzQd70Or6uaiOrYeRjALxht6MwIzqqlBaV vGAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=StnyJgFOT64M/Chcxu97Xz0SNkYawN5oNQ23pftyJ9s=; fh=p32Pg0zBdFjDUOpUp1txX3SLnGswM8C/CMMa7TUpsLA=; b=FBBeE6/d0OmvWZ+cyW34aFsyOFUS/AkhZGOrywWC9AvfFblMxnYjGnD7b47U4NvUEO wMNtC1jhpOvjUPm5BeVCWFYNyBzkOR3tskq3C1Kjq8XFSTUt0+rUbP6sdrQbvghDB/xA v3/tvTG9ZH2ZkTfcCuJrL4FU6GeSCDeQDpG8n8/Fe1JwecXOfb4mmVI+anGnpU1al/an GBNKyu8DFWjt+muaBnl8IPzDbKRV+IuH0lspyyrN6Zi6N+LGUXRX4TV5UZxFIac/xSbQ HRkf4FNGgaOQnPVnwcMgLTaFUZQR9uF/kFfgY7WRsiCA5ICd9y3s0CffFD9l3dBh7ATe uitQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=C94NzbNr; spf=pass (google.com: domain of linux-kernel+bounces-18497-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18497-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id lr26-20020a170906fb9a00b00a28bf6997d3si1213063ejb.995.2024.01.05.21.57.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jan 2024 21:57:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-18497-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=C94NzbNr; spf=pass (google.com: domain of linux-kernel+bounces-18497-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18497-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 5C5BE1F24674 for ; Sat, 6 Jan 2024 05:57:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 58E04882F; Sat, 6 Jan 2024 05:56:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="C94NzbNr" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) (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 5A1B56FD0 for ; Sat, 6 Jan 2024 05:56:14 +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 Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-6d9b13fe9e9so256570b3a.2 for ; Fri, 05 Jan 2024 21:56:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1704520574; x=1705125374; 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=StnyJgFOT64M/Chcxu97Xz0SNkYawN5oNQ23pftyJ9s=; b=C94NzbNrPvmjl85S1R9JieHfjjFe0WSRy46EtW8Sd8PRtGWP1YLLIKeqXYO423V5D/ bUgAsItzmcX5JtyUPeGpHy9EMgnNed7fEGzP/5qS6OPHb8upc2KH8REIU3MKzKsZ/d71 GeaUPs0MYye4PAgds1OxI4Ud2h5sRHzf3yCm8fyVLR/uMyUbE3R462+Vf3pigutKOoKv 9butqaRKl8Jyrlfe5SRcMrUr20cS8oeVSCowait3iUDMmAWk3bfSih+X7OTUPdgAd2xt sFrYShtf5rbegAovRMaw0xomXWok7pG2+iIFBHBSUn9YOYSVhjmJclUQ6ES70e5x/ZuP RvrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704520574; x=1705125374; 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=StnyJgFOT64M/Chcxu97Xz0SNkYawN5oNQ23pftyJ9s=; b=Ij2YcUw/pOjP4WPajpW8LMN8SO43IK4pOeSaYrzHIxVphJVd6gVMon52zNeaRqPGWo +VVK5rh0UKOel4pgy98y/977cHRg3tasgvkf1fjLNhah+DcsgldPwGM8s0SQVT7lnn+N x37CVXsAOUEl+rmozW1rhVW3wzubdb9SZHueeMx/8hHr+cgoQlP4DH7EiOP/ugEjg6R6 TXXMWZsxhKsALOpuGj7VktJMSKax4QgCgmHWdUzk72vNdDrpXjJj5YcCi+gPjggcppbr Oza8xj4+OD84Wmpce/cHMlxuelOWmaxdQ72372d+O/1ALQnTw96Tp+0zKk7ze/jQf/Xs 5TZg== X-Gm-Message-State: AOJu0YyChG/DH9IOC4Zq/QwCzDgVc3S7Tixok+1YpOZr6+ZNs5hQY4xf bbAccTlCUasp+rYTir4uMJJlTTItXP1OnA== X-Received: by 2002:a05:6a00:4e57:b0:6d9:b320:94c9 with SMTP id gu23-20020a056a004e5700b006d9b32094c9mr540868pfb.33.1704520573848; Fri, 05 Jan 2024 21:56:13 -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.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jan 2024 21:56:13 -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 07/21] Staging: rtl8192e: Rename variable bSupportNmode Date: Fri, 5 Jan 2024 21:55:42 -0800 Message-Id: <20240106055556.430948-8-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: 8bit Rename variable bSupportNmode to 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/rtl8192e/rtllib_softmac.c index 08ff55c2f1be..85e6e727bec7 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 = 0; - bool bSupportNmode = true, bHalfSupportNmode = false; + bool support_nmode = true, bHalfSupportNmode = false; errcode = auth_parse(ieee->dev, skb, &challenge, &chlen); @@ -1666,16 +1666,16 @@ static void rtllib_rx_auth_resp(struct rtllib_device *ieee, struct sk_buff *skb) if (!(ieee->ht_info->iot_action & HT_IOT_ACT_PURE_N_MODE)) { if (!ieee->GetNmodeSupportBySecCfg(ieee->dev)) { if (is_ht_half_nmode_aps(ieee)) { - bSupportNmode = true; + support_nmode = true; bHalfSupportNmode = true; } else { - bSupportNmode = false; + support_nmode = false; bHalfSupportNmode = false; } } } /* Dummy wirless mode setting to avoid encryption issue */ - if (bSupportNmode) { + if (support_nmode) { ieee->set_wireless_mode(ieee->dev, ieee->current_network.mode); } else { -- 2.39.2