Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp17228769rwd; Mon, 26 Jun 2023 23:24:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ70iQXiGWIwL/j9jIH0TWeFnIzAu4ZWw1LrdnIz/2yZchhR+NqhxtmKo+/Wrk76Og82iYiC X-Received: by 2002:aca:1309:0:b0:3a1:c979:e6b6 with SMTP id e9-20020aca1309000000b003a1c979e6b6mr7284749oii.34.1687847058788; Mon, 26 Jun 2023 23:24:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687847058; cv=none; d=google.com; s=arc-20160816; b=aiVhSsiCsOJD0GgRipqRILFSqIJdf5W81KpIvk2JWup8lBINxHuxIgVSM5fxumlJJt h7UvzThqsN0X0p4Rbogu80zqVpY44WYOhQspLSsVQ6Nx4Y+7ftofHVBE2LtW/LgETBNu pf0k+123e0Cb4xz+s56GZBi+7JFU4i2fKEQWIKevR2rocsTfj0sR6jdt6Zpp1SqKw2UC AB1TxPerHtgjVNajr1chpkNzTmlq7oR5xFBnH9wk0pskuKqfFvP9AMDP4rWZVYMeCNMU K8459SkjKgBV8Ek54eHxd1pijKtalVV0aziQKsp5J8pZ/VuOFR8uxrN9U/HKnHlsaPy+ XSPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature:dkim-signature; bh=3xMXppGtTy+Y0cvxSLRDlbwCrNR+Jz2jejyVNZFGdc8=; fh=Rd47jnUfgqOvVIcRyyHGQpid8wA0U2ajuq0nOa9hhKk=; b=J96NSb+/nULBpw1JVaTG4x7vrK2ZrbCH644XF4e+WVAc6TrWh+JV9obpZG3dIIVLzC cOeEQPMfelnZUavPLhLt74KrRpmOp/d4RsS8/hKVe95XuClE0iIcbA5NyRJmtJ/0O71Q q4HwgOKMVspTqNc8TTowRcDS1/iFvy/YmMa+VLn7hWqt7WAtHkthNoNm/3WyCBW8BJol FoqyKo0Z+uT0o8kFK4hj2cAp8vQvvppWMet1smeTY9qZ94WPNilz3e+QG48tLisgic6/ TcIJGhHHuGwS0Nif3b5NOYLUvt8/Kgz2iIGYloDBwOxRR0PFh/MM9nPEyo0Xv3PjKKZd FVsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=JPeCRY1P; dkim=temperror (no key for signature) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=RqhMWuiB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f30-20020a631f1e000000b005348202cac1si6811602pgf.5.2023.06.26.23.24.05; Mon, 26 Jun 2023 23:24:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=JPeCRY1P; dkim=temperror (no key for signature) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=RqhMWuiB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229710AbjF0GND (ORCPT + 99 others); Tue, 27 Jun 2023 02:13:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229562AbjF0GNB (ORCPT ); Tue, 27 Jun 2023 02:13:01 -0400 Received: from pb-smtp20.pobox.com (pb-smtp20.pobox.com [173.228.157.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D109210DA for ; Mon, 26 Jun 2023 23:13:00 -0700 (PDT) Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 303F834F34; Tue, 27 Jun 2023 02:13:00 -0400 (EDT) (envelope-from tdavies@darkphysics.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=date:from :to:cc:subject:message-id:mime-version:content-type; s=sasl; bh= IUL7ID4d3pPYsOn9JplaOIG/zZA7lomOoZeluXhX+5o=; b=JPeCRY1PUEl443qQ LwC909pWYdeqDKA8sMuvjBv/lbkOl3IZLsB4QaYpYY6nWg6AoEt/94x7qiqIR5wD VWJLLyenc87CpOQv/9rckmfi1Nhr4Fy4CWHM1GE+NEzW9Uk1BWaYFmXQhg9EQH+o 6UeiIHSYdW3ftbZfEQ76V+/Ddlg= Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 2746034F33; Tue, 27 Jun 2023 02:13:00 -0400 (EDT) (envelope-from tdavies@darkphysics.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=darkphysics.net; h=date:from:to:cc:subject:message-id:mime-version:content-type; s=2019-09.pbsmtp; bh=IUL7ID4d3pPYsOn9JplaOIG/zZA7lomOoZeluXhX+5o=; b=RqhMWuiBYvqwGsV3VH39xxsZbempSyEnYhpwJWqTbZ91QVKS79esTyTvSiJqfZJwaU0Urz2QaRscLhyncuaEQBcZJa3OSK6QHXP8dIp1WCalVbKX22GnpGoaQJ3n4n6ghvt/OhIgSKY48QEzwVNk5casvFO9VdVMAWxlKf5jPFQ= Received: from tacos.darkphysics (unknown [76.146.178.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp20.pobox.com (Postfix) with ESMTPSA id 2998434F32; Tue, 27 Jun 2023 02:12:57 -0400 (EDT) (envelope-from tdavies@darkphysics.net) Date: Mon, 26 Jun 2023 23:12:46 -0700 From: Tree Davies To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com, dan.carpenter@linaro.org Cc: tdavies@darkphysics.net, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev Subject: [PATCH v3] staging: rtl8192e: Rename function IsHTHalfNmodeAPs to is_ht_half_nmode_aps Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Pobox-Relay-ID: A904B50A-14B1-11EE-8D0A-C2DA088D43B2-45285927!pb-smtp20.pobox.com X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NO_DNS_FOR_FROM,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rename function IsHTHalfNmodeAPs to is_ht_half_nmode_aps in order to fix checkpatch warning: Avoid CamelCase Signed-off-by: Tree Davies --- v3: Fix email parch as v2 info was placed above the --- v2: Rename is_ht_half_nmode_a_ps -> is_ht_half_nmode_aps 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 f9fa3f2bb728..d09342dde61d 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -139,7 +139,7 @@ u16 TxCountToDataRate(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 e3ce4431d460..293eb9315d99 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -2003,7 +2003,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 TxCountToDataRate(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 425d4acbcdf0..05740e90d1c6 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -2224,7 +2224,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.39.2