Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp1166833rdb; Fri, 22 Dec 2023 18:05:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IHNjW8emqYuvn1RkzDzD5GDAd1rE4yCkv9coJ7Tz7oMAofTjKALvo6xQSyWLTHSWoyu0mzV X-Received: by 2002:a05:6358:948b:b0:16b:c401:e714 with SMTP id i11-20020a056358948b00b0016bc401e714mr2132089rwb.5.1703297139363; Fri, 22 Dec 2023 18:05:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703297139; cv=none; d=google.com; s=arc-20160816; b=yAxgFViMaJn1rDdkuDtCaTT0yVJKI3vMVHGMR/OoqBWrRozKiYgYXwuenQ31zOMMxD YFmxH6nAl5h/uZh7/iCLlDC0gawpBlAcrnkNm1t3ibobYp5yluePqLVZxT2VNz33yAE4 uWdJMaIfXR4ybGxDvE83b19dSNKSGpGGeEUOM5Ikn6wJ1CexfF9NcYfBd9iR4muxeNWJ PFCl+Q0VrfDq8SR5e8pxXx/5mE0k6NXfNqEPBr7ks6bvBUsm8HvYe78UUxjUvfD+tkWC up8vexjyBfk9cG1sQYswA3/zaBYOIXLFixtIQrQOZwuxDzQ30qp9IAtTzHSXHOFpzEzo baJQ== 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=5cMw9uPLWTNNtgp8qyV233zk0hgUTq1NsfnpGqgse+s=; fh=p32Pg0zBdFjDUOpUp1txX3SLnGswM8C/CMMa7TUpsLA=; b=Pf7cdmrgTLJCjj0TO6CzRjWzw4wcKy+KBcES1BkljwQYBON6PbggST2btnqQaaRWfo /ES5VSh6bZw7SOZrBEpViVT7su/buH9z0UiSsEOLpBSRtQUwJnbRtSY/wOZx1EDLIAki 14ByCvmuQkQgl9CEzHZpOTsIOkNdaKcVgfQzPoEownVDBb6JAqat4WLo64y6P0Ob4o04 01ds2HskVpSBbLJbMF4dJ8dhy0srQirxacSqnZ5bENmu+Yluk3Cub69OLPWZJIS9iv9G UdENpz35N2HKJD0wDtCcUNOfaRVSyaEZscs6d9Q88x4Hns38/ECqbmk5JfzzwXaHuqdh 8Bvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=LqWMG9lR; spf=pass (google.com: domain of linux-kernel+bounces-10202-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10202-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id i10-20020a17090ad34a00b0028c05d2a976si2294761pjx.120.2023.12.22.18.05.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 18:05:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-10202-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=LqWMG9lR; spf=pass (google.com: domain of linux-kernel+bounces-10202-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10202-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 16980285B98 for ; Sat, 23 Dec 2023 02:04:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6498A28379; Sat, 23 Dec 2023 02:00:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="LqWMG9lR" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-oo1-f48.google.com (mail-oo1-f48.google.com [209.85.161.48]) (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 598222557D for ; Sat, 23 Dec 2023 02:00:03 +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-oo1-f48.google.com with SMTP id 006d021491bc7-594019698b8so1656877eaf.3 for ; Fri, 22 Dec 2023 18:00:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1703296802; x=1703901602; 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=5cMw9uPLWTNNtgp8qyV233zk0hgUTq1NsfnpGqgse+s=; b=LqWMG9lRSLj+TPwxA6IxTDrqtLcXes08c4yvphzF1wiSSsKTu48x0GjjtdBC44RCc7 cqEtNbTUNhK7/9WCBQuJpWRoBKe+NSVi1d48DYPsi1Dd41UQJJLt/oR+y9Ng5ccht/53 +7IOEgjYj0lzwoi78Sov0Mii0gel0u1636U4Qr/kuOdbslUJ9k1adpYQBUFYpk7mjNDY Y6uT9HanUxPa3m/5am18JFHzi5wlEH2KW1VXvMbf4nUD7kuHxKOmi5yBLSLwcqVWQDRL +5benV4E7xy1eEfD6MVm6Y1KHANlal2X5HPT5w/S+IlZYJw7HASJH23nALOFVyPWSQch bS/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703296802; x=1703901602; 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=5cMw9uPLWTNNtgp8qyV233zk0hgUTq1NsfnpGqgse+s=; b=oDQLuo9+CAwrUHHcBjGPqbz8cty1H6h/ACvIFsIIDLScGfGQ/L0Ubx2hRiDfMbNY1X uhGCawNV0Zp2HCfg4oubwlzVfuXQXwmkNmNHT6QfjeZlk3MD+qxgLgH2Q6/ejPmz0Rhp p20t37jPKZ0v57n/rCh7m7VU2XIIKEmW7xtZFOFN0SANPMkeaYHbhVCTrchbJE9zM9pq wsFgl3NTddWDKDr3hT1Mni/P2uSX+Blg2MRXOZAZT4tv2VmV/cojwyqgKMAiO9yOFWWL Z1vm7T5QtJfjjY7oSrUmKt5vlcj1ynUvW0giIg+HqP0qxV/JAfR14WA1/+NfldyCsZNK RnFQ== X-Gm-Message-State: AOJu0Yxly2DuovRtaWnkV4b0C/dKPS2gsODDdDPiMalL/PWXmrdBUFEA FRTA37qguI6NoLvWJSnfwk7R/RC0jD4wUw== X-Received: by 2002:a05:6358:52c2:b0:16d:edaa:921c with SMTP id z2-20020a05635852c200b0016dedaa921cmr2205422rwz.12.1703296802301; Fri, 22 Dec 2023 18:00:02 -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 kg15-20020a170903060f00b001d3edef115dsm4106546plb.20.2023.12.22.18.00.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 18:00: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 19/20] Staging: rtl8192e: Rename variable bInitState Date: Fri, 22 Dec 2023 17:59:41 -0800 Message-Id: <20231223015942.418263-20-tdavies@darkphysics.net> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231223015942.418263-1-tdavies@darkphysics.net> References: <20231223015942.418263-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 bInitState to init_state to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtllib.h | 4 ++-- drivers/staging/rtl8192e/rtllib_softmac.c | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index 9fd8a7199ee0..0158b5595c3c 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1677,8 +1677,8 @@ void rtllib_sta_ps_send_pspoll_frame(struct rtllib_device *ieee); void rtllib_start_protocol(struct rtllib_device *ieee); void rtllib_stop_protocol(struct rtllib_device *ieee); -void rtllib_EnableNetMonitorMode(struct net_device *dev, bool bInitState); -void rtllib_DisableNetMonitorMode(struct net_device *dev, bool bInitState); +void rtllib_EnableNetMonitorMode(struct net_device *dev, bool init_state); +void rtllib_DisableNetMonitorMode(struct net_device *dev, bool init_state); void rtllib_softmac_stop_protocol(struct rtllib_device *ieee); void rtllib_softmac_start_protocol(struct rtllib_device *ieee); diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c index e4e1a84932ba..ec7bf27820c6 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -349,26 +349,26 @@ static inline struct sk_buff *rtllib_probe_req(struct rtllib_device *ieee) /* Enables network monitor mode, all rx packets will be received. */ void rtllib_EnableNetMonitorMode(struct net_device *dev, - bool bInitState) + bool init_state) { struct rtllib_device *ieee = netdev_priv_rsl(dev); netdev_info(dev, "========>Enter Monitor Mode\n"); - ieee->AllowAllDestAddrHandler(dev, true, !bInitState); + ieee->AllowAllDestAddrHandler(dev, true, !init_state); } /* Disables network monitor mode. Only packets destinated to * us will be received. */ void rtllib_DisableNetMonitorMode(struct net_device *dev, - bool bInitState) + bool init_state) { struct rtllib_device *ieee = netdev_priv_rsl(dev); netdev_info(dev, "========>Exit Monitor Mode\n"); - ieee->AllowAllDestAddrHandler(dev, false, !bInitState); + ieee->AllowAllDestAddrHandler(dev, false, !init_state); } static void rtllib_send_probe(struct rtllib_device *ieee) -- 2.39.2