Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp17219958rwd; Mon, 26 Jun 2023 23:14:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6JuCpqA9oPr05AU6UzUoXJsZTyHO0ZHfqglLV9feVmMPibDnuUN/kmh3ngTZlS6s4dtY1m X-Received: by 2002:a17:907:3e21:b0:988:e365:6231 with SMTP id hp33-20020a1709073e2100b00988e3656231mr17515208ejc.41.1687846467597; Mon, 26 Jun 2023 23:14:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687846467; cv=none; d=google.com; s=arc-20160816; b=vEa+yFzDxkSq0Y2F5IKCZKJWY+2Ocsm/KygXWrhAX9B83lQjLcqd93ocVXP1PdLhhA VokmdimxpDcH/kzB9a2+bTv1ib4UqY2iqGhVQcGpIGL//kGqThgO88uM8fh6aGUcY906 jOA6yeVB8k49XXJpRVpYt/nijjW2WLLuQIrKdibt4lfqBdEd5UkvpuDifNcvxlovgUpe WP7egwaA8ZB0m+wJgKHbKOkhAJOzaxN9hyVmRP1COg0uXB1EE2PfZaJWxM5AhD9FL94v to9J4W6P9UDGMwIzfe1TtJMfRHTozWWJXV8ybhOYCKhbFpnJre9H3WaXNbgZ8IhEgv9i 5yvQ== 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=1p3k4xrVIV3gN1FhoWzVmVR3SrlhDccUVAtcVlsrKuU=; fh=Rd47jnUfgqOvVIcRyyHGQpid8wA0U2ajuq0nOa9hhKk=; b=QtPZNM4TEJ9dz3Mmw6NHLkM/OQqFn06KOsSe5p0+GJ+dl5qd1ZRPamtjgER9sDnfvM DyYP/CdAzH6Wfohx7jom/pBMk0sTvz+kT6qEq07rOnR54rPePh7oCFFUhx58PJhXMv/N MG5tgDl1YVr3Lg/ap4laKSIebefz2RgxSwfGBgkyThiYJZguKkA0PMF1ulP5mcgk9nO0 xhej0QC9R0YVVsiGkzy5CkC4jC9gB6Yly6KfCotg3cV44cPvhZsC4qy+DA9f64Rfq3W+ f0UbRzuj2lVK6YssMyauwqSdzZxuuJ4YTRbsJz9hVYqNKexMfNJDZTWGWh04v+Yd6Y6A mOug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=HaTR0R9W; dkim=temperror (no key for signature) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=ILZJR7aQ; 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 s5-20020a1709064d8500b00991d54db2b2si1828853eju.698.2023.06.26.23.14.02; Mon, 26 Jun 2023 23:14:27 -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=HaTR0R9W; dkim=temperror (no key for signature) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=ILZJR7aQ; 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 S229800AbjF0GHB (ORCPT + 99 others); Tue, 27 Jun 2023 02:07:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229647AbjF0GHA (ORCPT ); Tue, 27 Jun 2023 02:07:00 -0400 Received: from pb-smtp2.pobox.com (pb-smtp2.pobox.com [64.147.108.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1BF012B for ; Mon, 26 Jun 2023 23:06:57 -0700 (PDT) Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 18D1E199795; Tue, 27 Jun 2023 02:06:57 -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= vjszVLPOYJWQd7LQDozHI8ls+XVn3VGrAb2lTD4svG4=; b=HaTR0R9Wk75/on9B SZT3i7gY3X1WFGLqkIqAL0YZ+4sEiOIdww1aVRGoKYTbGbGacD+azOCdAPuFo/ei sWP1Si2bTjkzsax0LAGFWtsby/rQZMveCpepXg0iUgahYWNn8O10nCDs3nCl01IV nux+pdOwjGQZKtW7DGyWGzOf1tw= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 0F815199794; Tue, 27 Jun 2023 02:06:57 -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=vjszVLPOYJWQd7LQDozHI8ls+XVn3VGrAb2lTD4svG4=; b=ILZJR7aQTcOaC9iz+wj+mYcc1RZrsx8zTM8ZQe8aNep2tS53RzFsfAvYy7cqsoB9H4feocC2lu7+txWeNHtpiVhbYZrNNoKemaqrJ/iRHtictWJFQMoR9/dRvZRHL5H3y76OmMNFCAbuiE+b0s9tlJvx2KZgXhUvtBa3rMLPCkw= 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-smtp2.pobox.com (Postfix) with ESMTPSA id DFFD3199793; Tue, 27 Jun 2023 02:06:55 -0400 (EDT) (envelope-from tdavies@darkphysics.net) Date: Mon, 26 Jun 2023 23:06:42 -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 v2] 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: D1EDD31C-14B0-11EE-95D4-307A8E0A682E-45285927!pb-smtp2.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 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