Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp549218rdb; Fri, 5 Jan 2024 21:57:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IGdjORc2HQZB6JaiOzGwtrkCPYfkBPmRRg5zu5izXHVj9mKEaWQNoa1o4fCjT9MeK9ro2DP X-Received: by 2002:a17:90b:1086:b0:28d:2a42:3e72 with SMTP id gj6-20020a17090b108600b0028d2a423e72mr192353pjb.0.1704520661520; Fri, 05 Jan 2024 21:57:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704520661; cv=none; d=google.com; s=arc-20160816; b=wU0x3W5WLo+XgF50nZlDCoSWITQpTlhtSiw1w1FWttXvLUoicL2ihYQ5qNeA1cSoBF ZmdEeDSy1WMYS/3MA59xXsFqOBZe37oA3QG7IuYfma6A/MQd2O94tOsSdy2S2QKHT2zg emQra2qsEaYk7NtxxJOZCpVpgTVbr/IL4f3hDujm7CorbdqKk9UvCMg382QSAeLtmPbO GUwsKkDaIeR8eJqNSPZ+60OFngRGfHsjHKKreIlbJUZY4m2am8VsoWT3WERMy0Ztb0M4 aeY35/t89WIaQslcnnsLOIiuFRwM5GSDJoV59Q+Fdnd2NCb8xgJ578cfwwfDG7c7xpRf Mq8A== 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=XmWdmd80J+zop+fmRCsw8E/0vFIy5DUmsZqrKkyF7Pk=; fh=p32Pg0zBdFjDUOpUp1txX3SLnGswM8C/CMMa7TUpsLA=; b=U0u8lJNOwZKiXgOaQM7lBaubMSoSu23sDWBWJO8r5n0wRpP6C1LaAGgNkhpJqJuweM Au3vjeiBTTGmcCFJJcp50xS7HpRXtXNg4m7avmXvKmcjOOiPjpbPqMks52yVTsOizcpu zctWyx61Oc+3rpI3O+1RZyGFanpBfl/NlhX8MaZRHcZPakQrP8jWsAuKcX+IEAM+gs2g w/nlY6/M8QbEqCpwebZN/YEGQM0HQUqFd2MuxkCbmPK/bKpS2OcFXtn3tjpUH0ubevLP tm+qS9dt1T68wANudreP+BHErRe7fO2L09m17fJQ6C8LsgXC6Ca6jJNCweObbaxmMsnb Tufg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=RG0A7ORw; spf=pass (google.com: domain of linux-kernel+bounces-18496-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18496-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id z10-20020a17090ad78a00b0028cfa2f740asi1976389pju.12.2024.01.05.21.57.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jan 2024 21:57:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-18496-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=RG0A7ORw; spf=pass (google.com: domain of linux-kernel+bounces-18496-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18496-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 9B16BB232D0 for ; Sat, 6 Jan 2024 05:57:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BDD198474; Sat, 6 Jan 2024 05:56:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="RG0A7ORw" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) (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 BC4B66FB2 for ; Sat, 6 Jan 2024 05:56:13 +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-f176.google.com with SMTP id 41be03b00d2f7-5c21e185df5so196572a12.1 for ; Fri, 05 Jan 2024 21:56:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1704520573; x=1705125373; 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=XmWdmd80J+zop+fmRCsw8E/0vFIy5DUmsZqrKkyF7Pk=; b=RG0A7ORwBvrQ5FXuy6ONd6cSEseg7yAWaKbY7X7Nd04RXDnrLo+EnpkPLIWHWkaMxA Y7tjuK436RzvlWYRflxn50iBTVPdd2nPbxG7BNsQgmG0KQ1U1akQj/n0XNQPZznA0WsW 1cAz69EZ+aANoCxQP12P+Eem4xiHRdaKtaEtxhCSpODKYFcI5VA4GDXq2xFc4B9P6rgv xeiJMvwAw/TY2kjqsBvtBUvafy2d0+ZLtWbqrbf+zfzbWrig0AVc7m74oFQxHV9xstCZ Eb4+J2bm06xePXsWusbwsW7Cbm16Qr0SqHqQ6DvAQ0j/0ocl8kPkJhOfLVH5aP3bZG49 k6xA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704520573; x=1705125373; 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=XmWdmd80J+zop+fmRCsw8E/0vFIy5DUmsZqrKkyF7Pk=; b=cN2aTWL77tUw0xXMELK6IVGDYpmDaqYYgr9X4f7MUvkR9HzeqCidzXalP5xt9uq3JX L/EHBsOx2T1nVlB7iZ6X2ygqceNsaHnE9QVHZ2Ef2Th5Q6z/kv8/VoEdRDzWRbHB1CQ0 XsLE7yqCHET+J2U68l+mPivYSP+MsFSyipZhrfHdAOwyeT0LPmaouZOk4Rqbbo0feaAi IXSjHcg3M3y8aQhEkQMOjc8DdMS6n1c98vZDU6Fn0SrhSFrSHYMpFDoss+iC31lVkGRZ qoHzRAVIqRC3C+2mcKdFznxgJOBMajARuP9MRJpJCE0O+UNLFmDmr47LCFUzKspiADzr aFjQ== X-Gm-Message-State: AOJu0YwEs0XwVbKWbyWZTkQuUc7C3KTcdnGF2ANcPhgEcHrOj1W/guuv 9C7me0G2iCkMRHttmvLKgcSuHiKLsJW0wQ== X-Received: by 2002:a05:6a20:d423:b0:18f:97c:9792 with SMTP id il35-20020a056a20d42300b0018f097c9792mr507479pzb.122.1704520573100; Fri, 05 Jan 2024 21:56:13 -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 y29-20020a056a00181d00b006d99d986624sm2280873pfa.151.2024.01.05.21.56.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jan 2024 21:56:12 -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/21] Staging: rtl8192e: Rename variable bAwakePktSent Date: Fri, 5 Jan 2024 21:55:41 -0800 Message-Id: <20240106055556.430948-7-tdavies@darkphysics.net> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240106055556.430948-1-tdavies@darkphysics.net> References: <20240106055556.430948-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 bAwakePktSent to awake_pkt_sent to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 2 +- drivers/staging/rtl8192e/rtllib.h | 2 +- drivers/staging/rtl8192e/rtllib_softmac.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c index 67938e212db1..c9d7484fe1cd 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c @@ -1257,7 +1257,7 @@ static short _rtl92e_tx(struct net_device *dev, struct sk_buff *skb) int idx; u32 fwinfo_size = 0; - priv->rtllib->bAwakePktSent = true; + priv->rtllib->awake_pkt_sent = true; fwinfo_size = sizeof(struct tx_fwinfo_8190pci); diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index 9d3c79105508..9d6704fc86ff 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1374,7 +1374,7 @@ struct rtllib_device { /* for PS mode */ unsigned long last_rx_ps_time; - bool bAwakePktSent; + bool awake_pkt_sent; u8 LPSDelayCnt; /* used if IEEE_SOFTMAC_SINGLE_QUEUE is set */ diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c index 0d53e0a92a4c..08ff55c2f1be 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -1378,7 +1378,7 @@ static short rtllib_sta_ps_sleep(struct rtllib_device *ieee, u64 *time) return 0; if (time) { - if (ieee->bAwakePktSent) { + if (ieee->awake_pkt_sent) { psc->LPSAwakeIntvl = 1; } else { u8 max_period = 5; @@ -1461,7 +1461,7 @@ static inline void rtllib_sta_ps(struct work_struct *work) spin_unlock_irqrestore(&ieee->mgmt_tx_lock, flags2); } - ieee->bAwakePktSent = false; + ieee->awake_pkt_sent = false; } else if (sleep == 2) { spin_lock_irqsave(&ieee->mgmt_tx_lock, flags2); -- 2.39.2