Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp14291395rwd; Sat, 24 Jun 2023 16:35:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ46jmxCFmb6w/TPtwslFjxFwfcExU0Rx5KLoBQORcykXj6ShrpYCCjKEJQbcOVvmrQjgGV2 X-Received: by 2002:a05:6a20:442a:b0:110:6146:1056 with SMTP id ce42-20020a056a20442a00b0011061461056mr36182594pzb.2.1687649743396; Sat, 24 Jun 2023 16:35:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687649743; cv=none; d=google.com; s=arc-20160816; b=eN2mR67qHGwBCJY9n4AklGu8RSvPN5xTsa/DmBqsdFQ3HZXL+sjNGuLGihIctt5sl7 BFVCh4y/jcxcuRD+E70Hq7RDLmmynSuLIQ4HsTDNQE7XU9E4GJ6gUA2A/3MbMWETOL6r uffohY9eQ6HYHZ5MSdNIt1ttRA9yJiazgtVZoVTmljhuf68MWwM1Gi2LZyuHqT/OV4hr 5K5ciymhe3qbfciwkVP8JfzsUJuenOLwwM3I8P65QI8zw9IHYuejIDhLat/hXxOP9bzP 0Z+8jZXTvT+uXviQX2+XQI39BEHz/L9jcAr5iefOooFLuPPs1A7qlaBMH3hcjZfzr+LV 4v8g== 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=fbZbQM/VXPoZwItjJa0O29hCHhLhTdLDmCffkp2QthY=; fh=Rd47jnUfgqOvVIcRyyHGQpid8wA0U2ajuq0nOa9hhKk=; b=gmiGVbLZv5Ez+fV1lTmGAyweaSBiGF66CXmddQbRsgPs4efasnDkSl+iFYrHlzy4UI St136K1uT1vp6wzVCIB1It8CUN/SVyrqEnH0bGB7gQ4rr/mt4fX5nLUGvRa2Z1CrgrPi HqWjQESHV/JVc/uTa3VBtFVMq1UVEW89jSQ4AEswDMW4KmFglOZGw1JJc/pFjUpYtxcG AQUZ7otyk2n4UHVZj2yS5oiMIm7IhYsmfw40X8WHlItjSAhPr0sKvPCA1dDtki3vp7Hb YIgWovCTV0T+miNP0MwdMeBRUbNKtNVDRCT4SedYSqnRlKHJlapYwqmjpZXeDUhPZXoa eTHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=Vr4PxkWO; dkim=temperror (no key for signature) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=nS60ygNp; 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 cl3-20020a056a0032c300b0066c72aeb04dsi1465861pfb.151.2023.06.24.16.35.32; Sat, 24 Jun 2023 16:35:43 -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=Vr4PxkWO; dkim=temperror (no key for signature) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=nS60ygNp; 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 S229700AbjFXWxz (ORCPT + 99 others); Sat, 24 Jun 2023 18:53:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229496AbjFXWxy (ORCPT ); Sat, 24 Jun 2023 18:53:54 -0400 Received: from pb-smtp1.pobox.com (pb-smtp1.pobox.com [64.147.108.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F3D01710 for ; Sat, 24 Jun 2023 15:53:53 -0700 (PDT) Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 3492919AB93; Sat, 24 Jun 2023 18:53:49 -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= 1r5wGj+iTmjM6vRykrc6iY+IAD/mzB7x6qwzLAUQE6c=; b=Vr4PxkWOHBdgkbfc 0MOXAtx0W1TIe5Svxn9lILxPpXGNaAPiFyBDWjKwHAw1+crhjbBCJlcqIChgJePO IicMaqnIQgKR+01p7Z+kJIcu2aQzX1Wg36GvdpyrM361z/UWLfKoXt+8PbU93nQi onNahAa5nD2ICkz47F2fzWdHP7g= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 2CAD519AB92; Sat, 24 Jun 2023 18:53:49 -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=1r5wGj+iTmjM6vRykrc6iY+IAD/mzB7x6qwzLAUQE6c=; b=nS60ygNpLoF5wTKg/inoxL4ffRwgR5AcxoWtZ+OsZ+q7Mm7RdSJ7fQ351bnXn1W/RZhv2GPuuedFO3QlD88U6DBJx3hMp9C8V+PH6sOS7sMDzQChZzDw3lFtZ1L+X0DZRwuj1/OK/p83Em2PH5vFjA0qlZYKTgUae7WoqnfRcdw= 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-smtp1.pobox.com (Postfix) with ESMTPSA id 1C1A119AB91; Sat, 24 Jun 2023 18:53:48 -0400 (EDT) (envelope-from tdavies@darkphysics.net) Date: Sat, 24 Jun 2023 15:53: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] staging: rtl8192e: Rename function IsHTHalfNmodeAPs to is_ht_half_nmode_a_ps Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Pobox-Relay-ID: FB2CC614-12E1-11EE-88C6-C65BE52EC81B-45285927!pb-smtp1.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_a_ps in order to fix checkpatch warning: Avoid CamelCase Signed-off-by: Tree Davies --- 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..6f9d79582519 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_a_ps(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..0b33f993077d 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_a_ps(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..589015caa7b0 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_a_ps(ieee)) { bSupportNmode = true; bHalfSupportNmode = true; } else { -- 2.39.2