Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp187620lqp; Tue, 11 Jun 2024 20:25:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUFInPAFaIfUTcc+ELK44wJTctCQyeefzIrnH6Qe7Isx6J0nD2OpN7fkyLd7Y7/zL56fta0+XHbRCHvbbUCDn/oQ2Gcv/sujmqzzBip/g== X-Google-Smtp-Source: AGHT+IGERzeC7L0IImr9ckwykl1IZ4kwlWpMD0fiFj8fjALKqX9IozYsfIYSyLFxsgs4g0DSHB3r X-Received: by 2002:a17:906:2602:b0:a6f:4ae3:5327 with SMTP id a640c23a62f3a-a6f4ae35401mr2701666b.15.1718162718627; Tue, 11 Jun 2024 20:25:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718162718; cv=pass; d=google.com; s=arc-20160816; b=yCaIO++awSfPiio1kZgeR4zR0Qp6aeCnhhOPudFvpGUu9Qk+757/7burUgTZFA3HoJ RXdj2yz1yhL28lPmEhaXw9l87k7njoUD6KaeY4wQYpREKLbV5ysU7obVaNj9MUJPCMs0 3v5Kl9J91cIUe3ux0wBG27qE8YJhc1XdwtB5QYWERnSP95H992wyVaoTKW4+EMDSV1lC nRz5EksAqoQ6XEstLwoLZix2XIemLGfIfR1/EF3JgXylJ0J1Y8SOlVQDBcteXfiAa7Ze ZSP6d8Vt/Civ5q3o6W1UvIcKSYpOeN9BvTBuGwd4LPPi9YlnMqroCNuXEdL/tQT8m+5N VFDA== 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=/BAaKVw7/fbvmr5oqNSLigQILIKiz64CgFfcGxrWE8s=; fh=2caALrDWHZYt6vLfjcdSD5DAUyOtzn0Ut7VW8DZNkB8=; b=onTG035QdlLs8+be6CrLuojgjEV0iTz97xAT9vX8YtYYD8DpRMCFwilas8ogt292vb UjYmXZ1aY9JEkhEixpZDCz7ehoGYrYGvaSs2hUKKalSHx5nCZzIPyin7M/sQmwhWeLv3 8+DDmvR6dZ8fzQCnU9h5bhSeuPvW7B8MuW33VXOZ7JKkMnp1qCO+Xm03V5+rLpFt1rs+ V3XV+0cz766VRUS3fEUrPAgv/KvftNOEnG2tr11063jBuEepzlB8HRp+UhKKSbHgzIx8 w9afBuWEB+jsa69rpOGpwudqyjNxKTYy8VambGo/xXSJ6AEsDYvHeT7fR7Nyhn5eNE4x m6ng==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=cpyZEGNa; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-210871-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210871-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a6f10c6ac08si361125066b.198.2024.06.11.20.25.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 20:25:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210871-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=cpyZEGNa; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-210871-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210871-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 586DF1F23BBF for ; Wed, 12 Jun 2024 03:25:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4CFED55C08; Wed, 12 Jun 2024 03:22:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="cpyZEGNa" Received: from mail-ot1-f54.google.com (mail-ot1-f54.google.com [209.85.210.54]) (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 AA5FB5026B for ; Wed, 12 Jun 2024 03:22:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718162565; cv=none; b=WDiqT8sMGG4zFGm09yOHbJGHtwi2elt5HSPJIBUWEdGHmjjKRsDVZcL2lJZlz7FTRApbjn+jke3Uh1TuWjKQ+Ss8BzsVTY5YQ0t6hnMYHHkDsQEiSvvmnscmHsa/ffTozrENIl2FCiQykFvR1NopBi24BMwKr5JsrIomkon4fyc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718162565; c=relaxed/simple; bh=hWiAurK3lrTP0rDgK7hX2BScnXR8rmfbaqqkvHClJ+Q=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=BvAM+S8ZfHyScKHQL7YygYKGumpSEI3m0SRnsiD61bFox2jzDvadYuLU+sEY2lie9XIWqQkOKwEz2v/gdnONwribRFitLuh/jH4DsP7vzcaf4ci6VePzUX3lIxmtGlmDtOu7Fa0fVwbu6ldMnfM9+STx2o30cV9gmlnZ3JCmTBQ= 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=cpyZEGNa; arc=none smtp.client-ip=209.85.210.54 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-ot1-f54.google.com with SMTP id 46e09a7af769-6fa0edb64bdso418549a34.1 for ; Tue, 11 Jun 2024 20:22:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1718162563; x=1718767363; 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=/BAaKVw7/fbvmr5oqNSLigQILIKiz64CgFfcGxrWE8s=; b=cpyZEGNakvWH6vNlg5ae1Nt4C2qkxWyFPHzu0gcU5nlsgUizfmk20KTuAtDe5VC8+D D8buwmf9lVLDUimhrOHn0Xeedsr8uWgTR1tEyYxTOhkU0cbUpFqlXc/nBb9lMstOZwrw H7ndtpFtEvIL6+FMhS3uqKArcHH92yA8ojToaI0Hx5jyjy65exStHUdXfVUmCTk94X9e zZSN+Sr5V12HjtKvQwnG6Wo0C4ejrTa8sZmgxOh/a1xwxcWH9qYHpJVYlFtLICH+LSTZ 5XlM93fWF8QPYgWtrYnJBK0thsf65iTPuv/EbygKJHhbOXuGWiDzg9GHZ6JCaW3VY7GB 1qag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718162563; x=1718767363; 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=/BAaKVw7/fbvmr5oqNSLigQILIKiz64CgFfcGxrWE8s=; b=jSVhrgjr12w9OmfI4zg6APnKnw0FbH4bykAyIcVMpo0dZlZekcd+Gr6TZWc0/qlgCF viVdaBZ8pv7IHLEwGur5LIOO46hDkhPseCy9JN51kPpYTEHE7wENgVuHIRsV/3TZpKbY sdwh5H54Ef0nGfZ4sDuWhHoSOTSDTF6iVNZcPbY5+hcEVqJHOUs5pQJIQEmmSOeyIjLQ rLj9Uhwya8ZjOVAL0C9+HRmBG3CZidTbnNRb62GzgpkU5duFmeQYLldEXuoWfk6NXDFI k3yBUyiFq9cVWJcypLWJQLFsAohbB1ATICrxOHRsvJ3HhQsC4dIHt+RGVgXThc5q2Ojh iwqw== X-Forwarded-Encrypted: i=1; AJvYcCVmSfIDqVbpSSisSMQ6Hgi/a41GQUiv3951GsmK45y+onvDk3b8XkL1/EMh0mJ1Jt1KAxxnZOz1nStEMH2X/tKNLuLGHDl33eg8ZWJ/ X-Gm-Message-State: AOJu0YyLrYJKBqD+HtfEyQpmUn0ZV0n43Kh+p6Uj7jfwbosM6xtcyl0R PL93najD2qsuzl1Un6GQs7s+TK7h1XytbVYctQbQ0PVCpo15cI38t6bQyiRo+GA= X-Received: by 2002:a05:6830:1bcc:b0:6f9:6060:8582 with SMTP id 46e09a7af769-6fa1c4361f3mr590351a34.32.1718162562795; Tue, 11 Jun 2024 20:22:42 -0700 (PDT) Received: from lunchbox.darkphysics (c-76-146-178-2.hsd1.wa.comcast.net. [76.146.178.2]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-6e8e8a84949sm5635411a12.32.2024.06.11.20.22.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 20:22:42 -0700 (PDT) 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 12/24] Staging: rtl8192e: Rename variable CntAfterLink Date: Tue, 11 Jun 2024 20:22:18 -0700 Message-Id: <20240612032230.9738-13-tdavies@darkphysics.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240612032230.9738-1-tdavies@darkphysics.net> References: <20240612032230.9738-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 CntAfterLink to cnt_after_link to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- v2: No Change drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 6 +++--- drivers/staging/rtl8192e/rtl8192e/rtl_wx.c | 2 +- drivers/staging/rtl8192e/rtllib.h | 2 +- drivers/staging/rtl8192e/rtllib_tx.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c index 08d057ab8f74..9eeae01dc98d 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c @@ -951,10 +951,10 @@ static void _rtl92e_watchdog_wq_cb(void *data) return; if (priv->rtllib->link_state >= MAC80211_LINKED) { - if (priv->rtllib->CntAfterLink < 2) - priv->rtllib->CntAfterLink++; + if (priv->rtllib->cnt_after_link < 2) + priv->rtllib->cnt_after_link++; } else { - priv->rtllib->CntAfterLink = 0; + priv->rtllib->cnt_after_link = 0; } rtl92e_dm_watchdog(dev); diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c b/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c index d131ef525f46..c21a0560410a 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c @@ -241,7 +241,7 @@ static int _rtl92e_wx_set_scan(struct net_device *dev, (ieee->link_state <= RTLLIB_ASSOCIATING_AUTHENTICATED)) return 0; if ((priv->rtllib->link_state == MAC80211_LINKED) && - (priv->rtllib->CntAfterLink < 2)) + (priv->rtllib->cnt_after_link < 2)) return 0; } diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index 812aeabb4a52..b48d9d416ead 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1168,7 +1168,7 @@ struct rtllib_device { bool disable_mgnt_queue; unsigned long status; - u8 CntAfterLink; + u8 cnt_after_link; enum rt_op_mode op_mode; diff --git a/drivers/staging/rtl8192e/rtllib_tx.c b/drivers/staging/rtl8192e/rtllib_tx.c index 1ea7157127f6..b5eb3968581d 100644 --- a/drivers/staging/rtl8192e/rtllib_tx.c +++ b/drivers/staging/rtl8192e/rtllib_tx.c @@ -280,7 +280,7 @@ static void rtllib_tx_query_agg_cap(struct rtllib_device *ieee, if (is_multicast_ether_addr(hdr->addr1)) return; - if (tcb_desc->bdhcp || ieee->CntAfterLink < 2) + if (tcb_desc->bdhcp || ieee->cnt_after_link < 2) return; if (ht_info->iot_action & HT_IOT_ACT_TX_NO_AGGREGATION) -- 2.30.2