Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1414123rdb; Wed, 24 Jan 2024 14:55:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IEmI0ENfny+B8bP4WWKgL77UtJKjTVAiLcvZJ+XjmyfSShGvwCXwdT5KNmQxNeTaDw62S5R X-Received: by 2002:a05:6e02:1b09:b0:360:973b:8440 with SMTP id i9-20020a056e021b0900b00360973b8440mr184824ilv.123.1706136952797; Wed, 24 Jan 2024 14:55:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706136952; cv=pass; d=google.com; s=arc-20160816; b=pMZgKoIBt6tgOA1Qst2w9/5dJJq6v+6QlPo9YHS7OBGdTJ94WU7CeQC6EucEuvUT6a KQnspOBzugXYdYgwdTyfUoGIhRlpZySJ+puXQM+t7PQQ/FmymLuN6LYgbgIEs+Ei8mFq WeX3KSKCfFC3jx7B3iXrkv0MWL7yCmPGWtgbSG+SXOolff0ys5hDzcfFXiAyN9G2XhyA fZ54Wabg9Upezt1TTAnkkKnz7jPvAG89QK3HK/eEwCfeeIMEeXBiQdl6gdvWwLKewt0w Sd3iu1xYIY4q6UAH/lwF4p8//pLkTdEUXLyRX+yBdTNnmiPzAK4aqlU+yQA8a37h6sdW Tc/A== ARC-Message-Signature: i=2; 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=4dsPoDzQ879VDK5GQHb4bUC+HjAwV4k9BbLjoq0ooCs=; fh=p32Pg0zBdFjDUOpUp1txX3SLnGswM8C/CMMa7TUpsLA=; b=LI9F8sHiHD9wy5Loh+Sk5EOplOkKFmcgHnoBZ99A7h7bgbXg7YywPbP5LprUQKCMlw S6UL1SBNGPbIVsfmrogr4V70fEDtrOrN0iGk2YJFMahVRurqEMRZcwJlBe9Q72AmO6Ej b+NqJITC4IByfR6i5hsfwraoVEYtw38nYgke33U4/JdzkQ6ztSHnqDwQ8aUKgSDgxlag izRaQpdp2n/e9jrukU9PxR1+H7m2+3nE1xehcRPeiWUCDChneir7wnaK3ukroA1rtzBF wun3/vnrbLQ7UqR+tmhB+hRtgV5lbmkzNWZMFbBn/EGeYiMpxbm72X0lcW1Hs+YTltTG 6zgA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=bzxelC4r; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-37770-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37770-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id by31-20020a056a02059f00b005d64fc31457si81127pgb.640.2024.01.24.14.55.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 14:55:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-37770-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=bzxelC4r; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-37770-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37770-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id C2E5BB25FF4 for ; Wed, 24 Jan 2024 22:46:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 62C0F1386D1; Wed, 24 Jan 2024 22:45:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="bzxelC4r" Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) (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 05B4B137C38 for ; Wed, 24 Jan 2024 22:45:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706136303; cv=none; b=RRckJY3zdiPLOJTCUHGqjw3ll0By5bOKtLbvS90ajMrtSrPDATzcd8pCZMFoLNo7HOHhBcpH1RfltzNkHCTvvA6dgSylJKvRCmn/5BEAd5hvts3ceJzoHPk9jfT+SGT23vejiCw8BxC2/97a5I2SmzshTG3zgci/4d9sSnBfERw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706136303; c=relaxed/simple; bh=2ByaHwpgudjiAXPX+6Yc8UDFaTx9EAAEkFyb4h3LcEg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=AFYNEBzDK5fhFmJuFvun2QifxoTzgjU5DPJB1eVZNm/w4LFT/AUzGhvCpBQCDOfYpdDUXQA6JPzRFMKrJGHlZvgpl7mXXO0nvrSGyEB6b5j4ow0Qmd6ku04ekmpLcNPHQ8yPq5eRxX6vhREgKkpB189bv1nXpp2Odk4w6WZLU+4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=darkphysics.net; spf=pass smtp.mailfrom=darkphysics.net; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b=bzxelC4r; arc=none smtp.client-ip=209.85.214.175 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-pl1-f175.google.com with SMTP id d9443c01a7336-1d746ce7d13so32546735ad.0 for ; Wed, 24 Jan 2024 14:45:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1706136301; x=1706741101; 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=4dsPoDzQ879VDK5GQHb4bUC+HjAwV4k9BbLjoq0ooCs=; b=bzxelC4rqbfn5m9yvjD72QzjUM8Qim1T2BwN2TqTqy2HRbnilG+4hgKmV28mBvOepU 0A/Uu797DjOEy5Ck7L2xp6AW/BV2zfWaEXOGWF2vpPzmYoPF4N+hfw904Cg7fQJnto1B Q1IvgZ/N059NBmRELOkQrDvgviO1LjP1c9XGtyhUkyegLPXocCi9bgD76QmxtthN5NHe pqIKLB3xu36Z54AQBkTdnvI78yIWAdH1sbgyT9jP/2+/Bos8/JuoefTb+968Y7J7KB0O H2p2bVgk9RbU9ahFAlzHCbBfvDUrQJAujbp+7sGoP2ropNvw0u3xxybZC0D7JpvoE0o+ aMEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706136301; x=1706741101; 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=4dsPoDzQ879VDK5GQHb4bUC+HjAwV4k9BbLjoq0ooCs=; b=BgaXE5yjf5WtysjxVHCjTznnHKEuWvdg/EPZwMIdIUzLEubU+LNI6szb5czEXNqZnR DYHCmfzGGbULneWOH6Y7u62FMVujSCL3HRxOtLevfwlLO/VtNFpZKt3UrRk8Y9sl2U8K +493vA0AnnRG3xk6h3jiOPWwi1dxmlZ2cU50HpgkNI5EQ/IV2wxaiBBiWSL3MN6g//6Z spIC/6lhC8uaK3Omlyogv3rzv9RZ3fAc7nNf6NixfkaVyUMRO7Oo0Jas5Omyr2iUql7z xUv92r0pw+0Zcxh+G4MRQNfUdpKePY/4dZdguyt31MZevSTDAFmKBVuxyF1jbjVc45xj HkaQ== X-Gm-Message-State: AOJu0YzOC97Tkgh/Jkhk3rMlIcDsYmvuYt4FKCOUZsEl8diFf5wHpKdK o+kxi4Qw3f5QGhNuRNqX96Pf4NcPkHhQnytV9NFjXt35zklXRWDazSbFitKQ9Xlxvd4qFWbX94A g X-Received: by 2002:a17:902:9a4a:b0:1d6:f185:f13b with SMTP id x10-20020a1709029a4a00b001d6f185f13bmr94373plv.17.1706136301432; Wed, 24 Jan 2024 14:45:01 -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 i5-20020a170902c28500b001d73a2acc0csm6743987pld.283.2024.01.24.14.45.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 14:45:01 -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 06/18] Staging: rtl8192e: Rename function MgntQuery_TxRateExcludeCCKRates() Date: Wed, 24 Jan 2024 14:44:40 -0800 Message-Id: <20240124224452.968724-7-tdavies@darkphysics.net> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240124224452.968724-1-tdavies@darkphysics.net> References: <20240124224452.968724-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 function MgntQuery_TxRateExcludeCCKRates to mgnt_query_tx_rate_exclude_cck_rates to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtllib.h | 2 +- drivers/staging/rtl8192e/rtllib_softmac.c | 2 +- drivers/staging/rtl8192e/rtllib_tx.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index cd45a9c46a94..c380d1c3e9b6 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1821,6 +1821,6 @@ int rtllib_parse_info_param(struct rtllib_device *ieee, void rtllib_indicate_packets(struct rtllib_device *ieee, struct rtllib_rxb **prxbIndicateArray, u8 index); #define RT_ASOC_RETRY_LIMIT 5 -u8 MgntQuery_TxRateExcludeCCKRates(struct rtllib_device *ieee); +u8 mgnt_query_tx_rate_exclude_cck_rates(struct rtllib_device *ieee); #endif /* RTLLIB_H */ diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c index b5fe471f765b..c231e7acd606 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -138,7 +138,7 @@ static void init_mgmt_queue(struct rtllib_device *ieee) ieee->mgmt_queue_head = 0; } -u8 MgntQuery_TxRateExcludeCCKRates(struct rtllib_device *ieee) +u8 mgnt_query_tx_rate_exclude_cck_rates(struct rtllib_device *ieee) { u16 i; u8 query_rate = 0; diff --git a/drivers/staging/rtl8192e/rtllib_tx.c b/drivers/staging/rtl8192e/rtllib_tx.c index e61eb6e87ab4..54100dd81505 100644 --- a/drivers/staging/rtl8192e/rtllib_tx.c +++ b/drivers/staging/rtl8192e/rtllib_tx.c @@ -832,7 +832,7 @@ static int rtllib_xmit_inter(struct sk_buff *skb, struct net_device *dev) if (ieee->ht_info->iot_action & HT_IOT_ACT_WA_IOT_Broadcom) { tcb_desc->data_rate = - MgntQuery_TxRateExcludeCCKRates(ieee); + mgnt_query_tx_rate_exclude_cck_rates(ieee); tcb_desc->tx_dis_rate_fallback = false; } else { tcb_desc->data_rate = ieee->basic_rate; @@ -856,7 +856,7 @@ static int rtllib_xmit_inter(struct sk_buff *skb, struct net_device *dev) if (ieee->ht_info->iot_action & HT_IOT_ACT_WA_IOT_Broadcom) { tcb_desc->data_rate = - MgntQuery_TxRateExcludeCCKRates(ieee); + mgnt_query_tx_rate_exclude_cck_rates(ieee); tcb_desc->tx_dis_rate_fallback = false; } else { tcb_desc->data_rate = MGN_1M; -- 2.39.2