Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp2467538rdb; Mon, 25 Dec 2023 12:24:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IGg4hJGS5Bxdq1kyGtIUd20tLr+Pz+/3QRHkq/TmnWQStweHN/20a47PssZWg8qm4qyKCg+ X-Received: by 2002:a05:622a:386:b0:425:902d:ebdc with SMTP id j6-20020a05622a038600b00425902debdcmr8693105qtx.130.1703535871739; Mon, 25 Dec 2023 12:24:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703535871; cv=none; d=google.com; s=arc-20160816; b=WrKE0bZRtqryWDpOBcJW66tSijbKN4xDoMURffqEod7QiKrNoWt6XgcY8lfX2eygK1 liU/WYqLFQ8Xfz3uhbtIbcvpUKLQRDzx9rSyfGkOdt5nTMgJhCqK2hR2uDS62Il5cB+9 ypVMuub8k3ZuPlAVd8tvMBTanGHlpOY62WeLd7oFP5RHQg7adlkQTZRMBwr1QqKNg8dU QUVAuoRecJVGo8B9aUOOjWymOHbozCznwKbqXmjro3HRfcMOZOnxgpfMEwQJmbTVt73Q nlxrb3JAwTGV0fN9A6ckzKKebFHwh0l0ot/cgWb7QjQf/CFCYHxlsG2JkVUmKjg9lizK aINg== ARC-Message-Signature: i=1; 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=yB/NPRklIQX18vFPp18HnciRsryoXB+/DvCLU44035c=; fh=p32Pg0zBdFjDUOpUp1txX3SLnGswM8C/CMMa7TUpsLA=; b=oAUR4CNvz6gFBzFiPfrC/92tbobYFZ+al9iwduuKADRj9dkcH/Th0/dXjm9ZgGLUu2 tZ6d2nWMDT9Z8hCb0McOPZczISOsjgjGXsExagbMHIvhoZqpIFfxMZJR1krkNDxrpXg+ +4FiHcV6007eHwBlf/uMZtvLxRKPdNNby0Fflc8bV3NSj+VYeeL5u88zKuJc8mEfl5NK hd8Ba9BcJgOnPyQ3JRW9+bXB62AM+4T85qWXLgAut8KH6oRzzDfJLCvuvU1RTHGJalUd 7pDotr6CKY40k7LZriWwIm/oHmUcQkaUXUrbLXE2ICp2rkFboujY+qV8UvDK33dBBzNU 2qpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=XfjKxnIZ; spf=pass (google.com: domain of linux-kernel+bounces-11163-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11163-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id f14-20020ac85d0e000000b00423e437b4d1si11490824qtx.235.2023.12.25.12.24.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Dec 2023 12:24:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11163-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=XfjKxnIZ; spf=pass (google.com: domain of linux-kernel+bounces-11163-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11163-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 725F71C2100A for ; Mon, 25 Dec 2023 20:24:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7E5A154BCD; Mon, 25 Dec 2023 20:23:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="XfjKxnIZ" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-pg1-f180.google.com (mail-pg1-f180.google.com [209.85.215.180]) (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 1C9C653E24 for ; Mon, 25 Dec 2023 20:23:22 +0000 (UTC) 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-pg1-f180.google.com with SMTP id 41be03b00d2f7-517ab9a4a13so3081228a12.1 for ; Mon, 25 Dec 2023 12:23:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1703535802; x=1704140602; 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=yB/NPRklIQX18vFPp18HnciRsryoXB+/DvCLU44035c=; b=XfjKxnIZyhiJ2m6PXIlsmZ5ufcKls1ujOT2EvW4w+g8KuHGgP5btxYcii/zokyjrXN GmjRomVxOqggeKmilV/RMScf/pXuElDJTCoVYZDWOcDnpVukd+UT/CbNKIh0ADls5MVm E6D7wQSDAZdLg1vNIJ8ooc+LgSmCtrKnn+tEZrGQyw4HJJuS6gZyHxtRJX80ow+JxJ4M 86d+1DK9VvCZ0SVeKTkku/FUn4cnh+snnUw5M8AFmZV7VdxhOUjEUTUYG2PjsenEZdKt 4Qzf3v1cDqHB+4MdCOkVH+s1Xgfu1fqNktl93668WlRSiBt/mAMAQzEuhuRe8Gl9nTJv VwLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703535802; x=1704140602; 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=yB/NPRklIQX18vFPp18HnciRsryoXB+/DvCLU44035c=; b=MfVAomdil7Ta7sN1pTsemIF1/LMIxgG9A6Wjjfc1nQN38HBMPkoVVs+HoFq2GoE7oo PlQgZ0UPncgJ7WEfb2sllbdEEldIGxX6XCLibqxHaVt8yu870sAHplKiDkaZjdnnHhPz uMD8YreK2VBpirv2rk/xlp0WzYYWSNBFXWDU3fUfIoR1YsZXNdqEJ9J7qIWDLu2h6wVT ObqJpa2suIbgUZnHIgQqGAqbgfge0UXxxl8tLtBRQoKDCATwqvsccK+qKeOiRgSJdrHu UPeUfdQMOTsiV09y3sJGoIXp+eAv7Vp1ZbSkC2P/xwcfukAPoFkRU/lsrnmfbXH4fJ7u UGYw== X-Gm-Message-State: AOJu0Yw6NZz0ZJK0M1ZmjOytF+eVgASE2AmhfbsPRmdmDV5EMCdpdFSr wuTTkWtImx6T+IBAGHsB1azCUflVTvaT1Abwpy+j5FAaCgU= X-Received: by 2002:a17:903:26cd:b0:1d3:2a94:cb53 with SMTP id jg13-20020a17090326cd00b001d32a94cb53mr7021854plb.5.1703535802350; Mon, 25 Dec 2023 12:23:22 -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 l17-20020a17090aaa9100b0028be5732f01sm8741246pjq.0.2023.12.25.12.23.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Dec 2023 12:23: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 5/6] Staging: rtl8192e: Rename variable bIsAggregateFrame Date: Mon, 25 Dec 2023 12:23:13 -0800 Message-Id: <20231225202314.31869-6-tdavies@darkphysics.net> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231225202314.31869-1-tdavies@darkphysics.net> References: <20231225202314.31869-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 variable bIsAggregateFrame to is_aggregate_frame to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtllib.h | 2 +- drivers/staging/rtl8192e/rtllib_rx.c | 10 +++++----- drivers/staging/rtl8192e/rtllib_softmac.c | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index a2148bf0cea3..df72504e9695 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1402,7 +1402,7 @@ struct rtllib_device { bool FwRWRF; struct rt_link_detect link_detect_info; - bool bIsAggregateFrame; + bool is_aggregate_frame; struct rt_pwr_save_ctrl pwr_save_ctrl; /* used if IEEE_SOFTMAC_TX_QUEUE is set */ diff --git a/drivers/staging/rtl8192e/rtllib_rx.c b/drivers/staging/rtl8192e/rtllib_rx.c index d346380fd1d1..a5d530af18c4 100644 --- a/drivers/staging/rtl8192e/rtllib_rx.c +++ b/drivers/staging/rtl8192e/rtllib_rx.c @@ -730,7 +730,7 @@ static u8 parse_subframe(struct rtllib_device *ieee, struct sk_buff *skb, u16 LLCOffset = sizeof(struct ieee80211_hdr_3addr); u16 ChkLength; - bool bIsAggregateFrame = false; + bool is_aggregate_frame = false; u16 nSubframe_Length; u8 nPadding_Length = 0; u16 SeqNum = 0; @@ -739,7 +739,7 @@ static u8 parse_subframe(struct rtllib_device *ieee, struct sk_buff *skb, SeqNum = WLAN_GET_SEQ_SEQ(le16_to_cpu(hdr->seq_ctrl)); if ((RTLLIB_QOS_HAS_SEQ(fc)) && (((union frameqos *)(skb->data + RTLLIB_3ADDR_LEN))->field.reserved)) - bIsAggregateFrame = true; + is_aggregate_frame = true; if (RTLLIB_QOS_HAS_SEQ(fc)) LLCOffset += 2; @@ -752,8 +752,8 @@ static u8 parse_subframe(struct rtllib_device *ieee, struct sk_buff *skb, return 0; skb_pull(skb, LLCOffset); - ieee->bIsAggregateFrame = bIsAggregateFrame; - if (!bIsAggregateFrame) { + ieee->is_aggregate_frame = is_aggregate_frame; + if (!is_aggregate_frame) { rxb->nr_subframes = 1; /* altered by clark 3/30/2010 @@ -1358,7 +1358,7 @@ static int rtllib_rx_InfraAdhoc(struct rtllib_device *ieee, struct sk_buff *skb, /* Update WAPI PN */ /* Check if leave LPS */ - if (ieee->bIsAggregateFrame) + if (ieee->is_aggregate_frame) nr_subframes = rxb->nr_subframes; else nr_subframes = 1; diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c index c0c33ae06908..66816155ff36 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -2079,7 +2079,7 @@ int rtllib_softmac_init(struct rtllib_device *ieee) ieee->link_detect_info.num_tx_ok_in_period = 0; ieee->link_detect_info.num_rx_ok_in_period = 0; ieee->link_detect_info.NumRxUnicastOkInPeriod = 0; - ieee->bIsAggregateFrame = false; + ieee->is_aggregate_frame = false; ieee->assoc_id = 0; ieee->queue_stop = 0; ieee->scanning_continue = 0; -- 2.39.2