Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp452358rda; Sat, 21 Oct 2023 15:55:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHm7Y0iirfN/pRjawNLyM3OOZ2cgMI0Q0Ia2h5MQWe1FyipXqJ/WCAgk+Uiuw/E32mCzEPH X-Received: by 2002:a05:6870:5688:b0:1ea:30b2:3fcc with SMTP id p8-20020a056870568800b001ea30b23fccmr6591882oao.31.1697928946007; Sat, 21 Oct 2023 15:55:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697928945; cv=none; d=google.com; s=arc-20160816; b=rixE17TY5i0smZZYmU5hvBMDsRK9v9yv/mUiiuaLotTMBxox8vGH0IQ9E8FBrY2Eed U2lTVKTdXfMmiV5SSOPrNESOMPerv+9R88qOquj9hvM9ozfZXgL/AZONIfety15uDRI/ p/xCwemqlmgvys8AORR4mQj4y7RN6JpvVa39alrTYt2Tl7s6xgSjmtvtSld4fPDmjWrd TeYWNUYL1CXyg5TuQf9Nhp+EfdbUZFb7OCY+862YCnFHjgaMij7NF/AeXsxWQSYLNq8k owFdypAJobs0Hd7Un/hFKCI0icoaVXeSHQbElxnGeKKTLVgbt2AvUgRpbpj6fYK1KRrh 3lAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:feedback-id:dkim-signature :dkim-signature; bh=BszvcR3tf2Jhc+fpKLNeSEqkteDfp1YlgKmf0KxGLWE=; fh=gg7yR5TAVllFNGuSvDYg8qVjNmpQVaXLRGxgAmA+gXo=; b=H+gccU4j12xaORIzP4MJth069Plwt6S6VLN+Q72Ld2qwN9hrrJoDl9r9GqqAHgLGeZ C8mISR2lxwMNxRZCiX8PKfZtMm42eqV/5aclyJksLaEOeDThLINLR2EQlhAlRE5BRvYA QVw2Tzt7EDkdqqQG4r8/iXhBMm6DVVaKabVzhY1Z8WNPW/omRKbLhvgWhAa2a953A41o LWMY62G8nCqq0KmPGDe5w2Q8T2IzktRBJPda6kWY9L6qTq4tOw+Ye1UUwnBTr2UhKcUO WmIiMPsvDC439i/rrgf32QgzBYZcQIORho0hNWwR2T4e6EclgI3lRh4pDjNWO82yEB5w qQHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fastmail.org header.s=fm3 header.b=toprMpb+; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=gxVA53ip; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fastmail.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id w13-20020a17090aea0d00b00273fa934cc1si6571741pjy.167.2023.10.21.15.55.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Oct 2023 15:55:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@fastmail.org header.s=fm3 header.b=toprMpb+; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=gxVA53ip; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fastmail.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id CB96E80545A3; Sat, 21 Oct 2023 15:55:20 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232266AbjJUWls (ORCPT + 99 others); Sat, 21 Oct 2023 18:41:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232046AbjJUWlr (ORCPT ); Sat, 21 Oct 2023 18:41:47 -0400 Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95C081A3 for ; Sat, 21 Oct 2023 15:41:38 -0700 (PDT) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 0773F5C0185; Sat, 21 Oct 2023 18:41:38 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sat, 21 Oct 2023 18:41:38 -0400 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:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm3; t=1697928098; x=1698014498; bh=BszvcR3tf2 Jhc+fpKLNeSEqkteDfp1YlgKmf0KxGLWE=; b=toprMpb+PNqjggicnuA0OGv7JI 0xmgkQSl6b7srE2OxxSV5pCv5GEA9Q2jo0+hahueYoZpmepkABHFONgByHVg9UEf nkm2ZrxLSqw1y9LYt/vykoazwDC3CLBbXorL9jdEHx0hgzTEs6T/bm7JXPnAI/5R uUTjxyybTFOmMcm6Ap8mo72qkjkZaD6x3IbMex7NdXswC5UIW6i720a+5m4QLDMj f2w2UWPUv0wiXfA+orMJUyUpyZubmp/9SWNv+5q7lwutnPiLim2Bq8w3NlpqMXu/ xNHC+HzK7ank4APDNYFdfKcGAFvd97Sr61W3WppOa/7SvoOQWv1L26Hfotgg== 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:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1697928098; x=1698014498; bh=BszvcR3tf2Jhc +fpKLNeSEqkteDfp1YlgKmf0KxGLWE=; b=gxVA53ipnTA/BZS/fB2ERMLgLJzJp 31FVe8oWaa19SXcWQ2fztFZ3eC+ULAEPCciTKDCt1EcVemeKiCc2ev//VktfoEFb p9KjbUiuweRGJWPg4ZjjwxGD/JR09ruEwA9yGUnnfc9YBNgpOlzmBuwdRf5D1On9 VAEGMj8rhK2l/9f6lTlOID8HYXcpwLuCZcscmmrIeVkv2D3PV0hQkUXGIdnq1opq M4jNClzyMg0r+WTGvDoWRQb3AJmf/9I0gy8uZT77eOOZndHNXntUVJICWN61cBW5 SVEBrfy3QU1MAZZFF6BifQ8Wk50h80eiyF/uW3k87Bx/00x1DZcarYdqw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrkedugddufecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvvefufffkofgggfestdekredtre dttdenucfhrhhomhepifgrrhihucftohhokhgrrhguuceoghgrrhihrhhoohhkrghruges fhgrshhtmhgrihhlrdhorhhgqeenucggtffrrghtthgvrhhnpeelgefffffghefhjeegje ehiedvgfelfeehueeuteektdffiefhveelhfegvedvveenucevlhhushhtvghrufhiiigv pedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehgrghrhihrohhokhgrrhgusehfrghsth hmrghilhdrohhrgh X-ME-Proxy: Feedback-ID: ifd194980:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 21 Oct 2023 18:41:37 -0400 (EDT) From: Gary Rookard To: gregkh@linuxfoundation.org Cc: philipp.g.hortmann@gmail.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Gary Rookard Subject: [PATCH] staging: rtl8192e: renamed variable IsHTHalfNmodeAPs Date: Sat, 21 Oct 2023 18:40:51 -0400 Message-ID: <20231021224051.7443-1-garyrookard@fastmail.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Sat, 21 Oct 2023 15:55:21 -0700 (PDT) Renamed from Pascal/CamelCase to Snake case the variable IsHTHalfNmodeAPs, IsHTHalfNmodeAPs -> is_ht_half_nmode_aps. Linux kernel coding style (cleanup) checkpatch Avoid CamelCase. Driver rtl8192e compiles. Signed-off-by: Gary Rookard --- drivers/staging/rtl8192e/rtl819x_HTProc.c | 2 +- drivers/staging/rtl8192e/rtllib.h | 2 +- drivers/staging/rtl8192e/rtllib_softmac.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rtl8192e/rtl819x_HTProc.c index 8070a152712e..f564474fab52 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -139,7 +139,7 @@ u16 tx_count_to_data_rate(struct rtllib_device *ieee, u8 nDataRate) return MCS_DATA_RATE[is40MHz][isShortGI][nDataRate & 0xf]; } -bool IsHTHalfNmodeAPs(struct rtllib_device *ieee) +bool is_ht_half_nmode_aps(struct rtllib_device *ieee) { bool retValue = false; struct rtllib_network *net = &ieee->current_network; diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index 6a9550eaf148..5cae02883a59 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1783,7 +1783,7 @@ extern u8 MCS_FILTER_ALL[]; extern u16 MCS_DATA_RATE[2][2][77]; u8 HTCCheck(struct rtllib_device *ieee, u8 *pFrame); void HTResetIOTSetting(struct rt_hi_throughput *ht_info); -bool IsHTHalfNmodeAPs(struct rtllib_device *ieee); +bool is_ht_half_nmode_aps(struct rtllib_device *ieee); u16 tx_count_data_rate(struct rtllib_device *ieee, u8 nDataRate); int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, struct sk_buff *skb); int rtllib_rx_ADDBARsp(struct rtllib_device *ieee, struct sk_buff *skb); diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c index ff98b41c94e0..501295f5b75e 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -1872,7 +1872,7 @@ static void rtllib_rx_auth_resp(struct rtllib_device *ieee, struct sk_buff *skb) ieee->softmac_stats.rx_auth_rs_ok++; if (!(ieee->ht_info->iot_action & HT_IOT_ACT_PURE_N_MODE)) { if (!ieee->GetNmodeSupportBySecCfg(ieee->dev)) { - if (IsHTHalfNmodeAPs(ieee)) { + if (is_ht_half_nmode_aps(ieee)) { bSupportNmode = true; bHalfSupportNmode = true; } else { -- 2.41.0