Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1711905rbb; Mon, 26 Feb 2024 20:52:18 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW7HLAmgBYt1TWvFBFNdIOh+ivgI42DckldUeckzinFZUCB1b+oFZgzNJqS2IxxSfLl92xyQL0cFXpMY1IgQB0WwVM/pflbOWlPXwTxcA== X-Google-Smtp-Source: AGHT+IHFwU8iogyI0b7iI0m/hinYskvloB8+G19MRpi+D8jVb5scH1/2djBgALnbPVOtePa114ZM X-Received: by 2002:a62:d15b:0:b0:6e4:c54b:9681 with SMTP id t27-20020a62d15b000000b006e4c54b9681mr6700501pfl.9.1709009538352; Mon, 26 Feb 2024 20:52:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709009538; cv=pass; d=google.com; s=arc-20160816; b=LpsaATLYRhtQbz6KZ1eRtsGaR9GgIBADOkZf0etsRDdKVBeJJMfpCQxyfjtDXWiZ1V saC9Vh2ZD3rS96eck/2CpbqlCNqvTbqKCbZWoSOkQsRgqij/iJX9/xzr2f84MguYd/4t vYSsBP7Znp3RMuMYnjLhfcEb5WYypUixcEAKDlDpOSVg96CZ3qEzjx9qhvxMpbbwhP2d vZUZa+XGUUslgIjnm0qkTd2BBZPzFH3yXOgVPEhJp5n8AD5rrf7kLTwH8ga7RlKmHz4r p0mATIMdcK93O1ivti/h0Kt2lZLmhq2q/ODupa2qBALHIcXwSdhjyczi4oMbOuLjGM3j mJ6A== 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=EUsBKbDxqX+aAoY4bQ5ZPw9Nd6OhOWFvUHLj7z72e6s=; fh=OwyTYivSCziD7iojhJ7t0MNXNrulqCOifjkUo165VAM=; b=tfoT8hJwoVI4DXvGytJycpnLmnGeLEBWzJCYoD/hF4x954WVL4ieHq62U+GWtD1one MG97URi/18QMK9MKKqJVTbw0y4LYWWIObe+TXzY5OTms9riS3Ub+ASxVFkH/lAj28LMp qmozyxXQQ9/JJxp8+UX3iG07LSivwIf6+Wj2taXuxwvrM8NJSEZwrk6EbTzArEqTlYbs aXEt8NI9UCk95shYAs3UmIt3B6Vuhi956J+G1rHEopoDcYy1lqfh7XSjjPTUhy28e1QQ 4fk1VvN0gJSZsKuh/uPhK1gJCjkUrQhaFfLKHTznPpbHaR7/gUMciHZspOJGIhdRN63t 0AFA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=QUmZVm4g; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-82702-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82702-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 e13-20020aa78c4d000000b006e4dfe1f6a2si4776166pfd.84.2024.02.26.20.52.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 20:52:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-82702-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=QUmZVm4g; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-82702-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82702-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 33119B26397 for ; Tue, 27 Feb 2024 04:46:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C4E1258211; Tue, 27 Feb 2024 04:42:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="QUmZVm4g" Received: from mail-oa1-f51.google.com (mail-oa1-f51.google.com [209.85.160.51]) (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 66A5557870 for ; Tue, 27 Feb 2024 04:42:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709008945; cv=none; b=CjWcmjTbMsbBASsxGvqBA0FaorW4Z4K8YHF8pyoU55ebr6e4jRR+QnzwFWh43uH+9+2nqnZa89J1EGDyL4wxqDv5XzTQ8pps/FvhsOQbtugbiacUyuoCFbn5YWoyFMBma3sen9XtkDWPDWOkdJ4/k13pSUTe1ZXF9+X/QudCW1Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709008945; c=relaxed/simple; bh=2x3h9Zz+k71/dtUWPgZcEE0hufSyTRHoquJITrslrK8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=r/NEzHLtlvd6RjqYH39bB+zR/9LMpdGSMPfI3O8fmKzTpErqm/Cw3/bqAAjEpXJbfifb/kVpTg+CKJX1JZ56padiOsuJbc4IQNENS5Bn6rbsasN3CYCRUr4o2a+ueQipIomQvtdRMSZKW+czX3fsOuaPdkd1HZOpO54NnUVKvbs= 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=QUmZVm4g; arc=none smtp.client-ip=209.85.160.51 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-oa1-f51.google.com with SMTP id 586e51a60fabf-21eea6aab5eso2722611fac.0 for ; Mon, 26 Feb 2024 20:42:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1709008943; x=1709613743; 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=EUsBKbDxqX+aAoY4bQ5ZPw9Nd6OhOWFvUHLj7z72e6s=; b=QUmZVm4g3WuuryGYGtIz7lgXBycoxLYckIu46DYykpbzG/LALQJghiiNhGemiAd8uV GCGF1+tJDN88FHq1z7PpHdk024sl67Azc7dK4/zmgYF1UnpdozVKDc58HJfaeBJhTPB8 +EeYQJk81WGyiJXOK3XB7T6kvrpANXt3PJukloP24cgSdzf5I/x0VSuqsPG3DJrCVahD VrxtJcoMxrwtlF+B+zOGxbSCbSjVyXYtq9oIDn4BTcwNT/aEyc3uOANXIN8KeyHwbtcf 8/gYVCZ50+JyLtZjikhxP4bUgnj/UtgS9R/4alRuBXNoDw5jmCm+NLJptzwLiW8UVdoR 73rQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709008943; x=1709613743; 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=EUsBKbDxqX+aAoY4bQ5ZPw9Nd6OhOWFvUHLj7z72e6s=; b=nufLUrrdVwSocE01c1ljO+lVtnCjAdOxx6u3XH2oOCFTcPW+1PFg4SSu9wxI/j9JYO wkfq+0JYpWPK45YHQiwcRr10io8tXKIbvZW+Px2tCPv1zqm2qCc9QIqs9de7UWKOAtt5 cB9iGfjbIvBjhQT1gY8h7k9vJ2MEyyqt9rb0qt+iSXDHvwMe1t+qi9fxgAo0ww9sOhxH j5GNL4Hq67VCHQv3m1NQ2buiK+Xh+0ENnP77Mswqyaub7EdkyXhWUl90yK1wbPgAalf1 8HPCwc7YDZTOzSj+XhGPPwZszY9HG1vTrFpSOEyQ4FCZ3rfCELfwwnEOQumWJLvCvwGF yFkA== X-Forwarded-Encrypted: i=1; AJvYcCXwaCdySKwHmYJ+3g/d2P+MdIZ+YGlsay8osCSJNJA29MSrnLfPp55wPZduvu4rJqL7hTlYl08aDO2SWaTl1mBfU6QVUismfSDJnZrD X-Gm-Message-State: AOJu0YyPAe1etYQwW0z87KV1BuNDpuSdGAAJAXcH5OwmH0tq16oFsIKh 16GBlRGg5WipWRDmvIttQUvUbQWzwyBoUrDkmNT0dAv9kMI/99xNaMWDMA03E/A= X-Received: by 2002:a05:6870:e390:b0:21e:dd7a:2d3e with SMTP id x16-20020a056870e39000b0021edd7a2d3emr12450237oad.22.1709008943675; Mon, 26 Feb 2024 20:42:23 -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 e30-20020aa798de000000b006e4ecc3e394sm4899782pfm.79.2024.02.26.20.42.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 20:42:22 -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 v2 20/20] Staging: rtl8192e: Rename function MgntQuery_MgntFrameTxRate Date: Mon, 26 Feb 2024 20:41:57 -0800 Message-Id: <20240227044157.407379-21-tdavies@darkphysics.net> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240227044157.407379-1-tdavies@darkphysics.net> References: <20240227044157.407379-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_MgntFrameTxRate to mgnt_query_mgnt_frame_tx_rate to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- v2: no changes drivers/staging/rtl8192e/rtllib_softmac.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c index afa789fd1266..97fdca828da7 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -163,7 +163,7 @@ u8 mgnt_query_tx_rate_exclude_cck_rates(struct rtllib_device *ieee) return query_rate; } -static u8 MgntQuery_MgntFrameTxRate(struct rtllib_device *ieee) +static u8 mgnt_query_mgnt_frame_tx_rate(struct rtllib_device *ieee) { struct rt_hi_throughput *ht_info = ieee->ht_info; u8 rate; @@ -201,7 +201,7 @@ inline void softmac_mgmt_xmit(struct sk_buff *skb, struct rtllib_device *ieee) if (ieee->disable_mgnt_queue) tcb_desc->queue_index = HIGH_QUEUE; - tcb_desc->data_rate = MgntQuery_MgntFrameTxRate(ieee); + tcb_desc->data_rate = mgnt_query_mgnt_frame_tx_rate(ieee); tcb_desc->ratr_index = 7; tcb_desc->tx_dis_rate_fallback = 1; tcb_desc->tx_use_drv_assinged_rate = 1; @@ -277,7 +277,7 @@ softmac_ps_mgmt_xmit(struct sk_buff *skb, if (ieee->disable_mgnt_queue) tcb_desc->queue_index = HIGH_QUEUE; - tcb_desc->data_rate = MgntQuery_MgntFrameTxRate(ieee); + tcb_desc->data_rate = mgnt_query_mgnt_frame_tx_rate(ieee); tcb_desc->ratr_index = 7; tcb_desc->tx_dis_rate_fallback = 1; tcb_desc->tx_use_drv_assinged_rate = 1; -- 2.39.2