Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp161668lqp; Sun, 9 Jun 2024 22:49:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX7hf+tvB1oAMC/PB2caMYShriBApQHDiHsfBwuy1AENpvJtXHnbmLaD7opGGgDWM+sKJUuI9oCSHsDskkaS7MMPJPFKu6XecYFDdbICw== X-Google-Smtp-Source: AGHT+IE55wyxLjc9f9Xa0r/daAldKaGu10ncLtoBobgCVrdTct9z+KxpqaLu+eW6k1n0gfnSEOFV X-Received: by 2002:a05:6512:220a:b0:52b:f6ab:6f75 with SMTP id 2adb3069b0e04-52bf6ab71b4mr4399790e87.29.1717998590241; Sun, 09 Jun 2024 22:49:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717998590; cv=pass; d=google.com; s=arc-20160816; b=r4IpPTiuKt2pZfO6mstMa7Wgewu5cP4ZPaymwMgCK92YkkuzlJcQ28sMbVGbk533fO 5u/C0jphgxqtTJ0kg3bPmxvdJWXYV79RsoLT1Jx5aH6hgkDXQ3aSqw+N57WzaOOZWbux JzMHBkYEtdZSQG/ipH3spJtEYBYpIdlRPlx7BVXrH5qnq7BYir3fwyctfZ848EiCWeAX 1/dx6wNNwBidCh8beQiCOut4/coJ5xwzVyUu+eguNYW7NivPUXC2jIdaSOM8Am+vol56 0eRy/j6/Ev+nH5Z81oZ7oFLOxWVlqWKnSr++vqb1g3/sh3iRCrkjQJxM/o55Q5pvltta XZcQ== 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=8m+H7Lrb8URjJe8p9iiLZsUeYML//04IDlIH65oAHC0=; fh=3cxuIr0QNUGklTfAYbuc+EQjPF6xg078F+HHJLsk9BE=; b=clQ0kdB2sOBpfpU5Zb0Y2MRsEmfcgHkNKljjM3rJtkn9kTFSYtlIxUAm7ZanaswctS b5Iruh7j218D6ZgWAgbEXZ5rdtneRoJh3SP3Ai9GkBs80XZbZYEbE0riiOiJcfKy8y3R ryQRIH6WflOQ2SVkGMMdjmFuwjEn4i3AUtPJObO4uBri02nJVeZDEVYQLhqgdx4FYL37 1hCIvsiRMQR/4mBgFwkrM0AHmijhq5yGHXrgi4hjbKI6orcyuMDajxx/veAyu0csWDa2 N6OoQfPGzl/qf6ZvzRSXbvWkCX1v9DCWQVcI5XWH3x3lDItMhSEQkdrjuYLUYdNe9XsU axRQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=jc5JOGjW; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-207669-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207669-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57c613b6aadsi2596789a12.284.2024.06.09.22.49.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jun 2024 22:49:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-207669-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=jc5JOGjW; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-207669-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207669-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 E5EF41F218BE for ; Mon, 10 Jun 2024 05:49:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BB57428DA0; Mon, 10 Jun 2024 05:49:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="jc5JOGjW" Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) (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 826E71865B for ; Mon, 10 Jun 2024 05:49:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717998543; cv=none; b=hnT4bNHIjgOGYhidwooTJBRFY0jEZ2J0cP/Rf1ykdy3BUQAs12G1BK6b/x/34BDuAQrXOeVWF9f5Z7/dBYymeeZ428pdHy6RurGcwnKbHz5GAvGEsKehD/S/9+SpFVT/6pZcphLi/MifyxO59vFbe5N6bfaCyFnGKO7LF8gKvTs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717998543; c=relaxed/simple; bh=zidFy4gIdsQ0BrGYX9heGZLqjVgFXnbJ+lDwEHU7JF8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Oka/vD2CfPKtoxOER6cfi9/lqJFz+XEtR3nSUd7XPtK6CvcWweu2HTbLHEjtjgDxJ2IHxJlG7Kkw+dzQbHeVz4CGYlYiogS7C2m3M0hx4ZCT9zTsDwpCfR9brmGU9AstBWlzDUz8b9Oq6ynxwx9UVdegYl1YjCDWRkL2At+eJIg= 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=jc5JOGjW; arc=none smtp.client-ip=209.85.210.177 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-pf1-f177.google.com with SMTP id d2e1a72fcca58-70432d3406bso745782b3a.1 for ; Sun, 09 Jun 2024 22:49:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1717998542; x=1718603342; 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=8m+H7Lrb8URjJe8p9iiLZsUeYML//04IDlIH65oAHC0=; b=jc5JOGjW/WMTEIYORL8EE4djQbu2C70fAsqcifK/3OK3NuMIeg9AqMCorMlTYdwgEX 1rci4wdwFpjjfRLow3i+uoWVriVrSJVHrtA9iU1dsPwzCRJNEfheG1N/afDy3EqIyFxx K0X+QK3Lvx2Z2Y6Jt0a3hE8bV0feqRyyZQN6iSTeg8h4MzNqmASZrgu/LX5Ea9XL+//k Mr3Qv1PbP04aOGoh6hN4S7lPXfgqCSPKRYEnlwn+QMyEp1m0gEb2vw3Z2rHgZARins8v cEGrbLJRkG7bmmL7stqO/bbkpNF8not4ZmnF9ziUWOGox0y/QQ+/EZeL6btV0HXCDq+b JCYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717998542; x=1718603342; 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=8m+H7Lrb8URjJe8p9iiLZsUeYML//04IDlIH65oAHC0=; b=i57i5ySYbvODju1G4ANu60lX+XvT1PUZI0obUActw6okK49hOAkm8ooOOmze9RDlRh IT3b24InvjsL74VjsQjLYO3TjhzK1QKSB63rFr3KtFlp1Vb5PQRjPfDehKH9cdy2JReO zMDovF0TFbOVsh+y6IFDlgxDJJXNCAPsodtf9iRO7Bc+9To+79ebTtobBf7LMS/noU3G fodj8kIicpRtVaFU7MxMCnbDCy94shGYoz5uHmY7FMCmGNLnK/bUfRFdAkxoB8d6Yjjp teUIxlcJyB5TgSDheT6G6hO2xnySRC8HOT0FPIXfdOpBv2szniYMAwg7w/hLcj7koH9O t1wA== X-Forwarded-Encrypted: i=1; AJvYcCV45+Ec57lctExh+aR1uk3/wA8xQaetczvKFE/ZvpugLG7YRWYKKymATygIpVCWUJghUzwpN+fFPoikwEKNciMg07EJ6ZscYdIFjoup X-Gm-Message-State: AOJu0YzDBgb/KqiBJmTXxvzWz5wbEpCOugo50zFxM+l7NsTRUzTkildQ LiMF6UM0FS/Rn32etvHevO9XJrn28p7DVm75SWE8fnN995ua5WoE3+BJR2ynX0U= X-Received: by 2002:a05:6a20:8408:b0:1b0:2af5:f183 with SMTP id adf61e73a8af0-1b2f9a2a048mr8814696637.23.1717998541923; Sun, 09 Jun 2024 22:49:01 -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 d9443c01a7336-1f6f1aced64sm35653725ad.9.2024.06.09.22.49.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jun 2024 22:49:01 -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 06/24] Staging: rtl8192e: Rename variable bRTSBW Date: Sun, 9 Jun 2024 22:44:31 -0700 Message-Id: <20240610054449.71316-7-tdavies@darkphysics.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240610054449.71316-1-tdavies@darkphysics.net> References: <20240610054449.71316-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 bRTSBW to rts_bw to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtllib.h | 2 +- drivers/staging/rtl8192e/rtllib_tx.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index a305848dabd5..0131765e451e 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -119,7 +119,7 @@ struct cb_desc { u8 bRTSSTBC:1; u8 RTSSC:1; - u8 bRTSBW:1; + u8 rts_bw:1; u8 bPacketBW:1; u8 rts_use_short_preamble:1; u8 bRTSUseShortGI:1; diff --git a/drivers/staging/rtl8192e/rtllib_tx.c b/drivers/staging/rtl8192e/rtllib_tx.c index be8de6703e5d..8c9072538688 100644 --- a/drivers/staging/rtl8192e/rtllib_tx.c +++ b/drivers/staging/rtl8192e/rtllib_tx.c @@ -376,7 +376,7 @@ static void rtllib_query_protectionmode(struct rtllib_device *ieee, tcb_desc->bRTSUseShortGI = false; tcb_desc->bCTSEnable = false; tcb_desc->RTSSC = 0; - tcb_desc->bRTSBW = false; + tcb_desc->rts_bw = false; if (tcb_desc->bBroadcast || tcb_desc->multicast) return; @@ -447,7 +447,7 @@ static void rtllib_query_protectionmode(struct rtllib_device *ieee, tcb_desc->bCTSEnable = false; tcb_desc->rts_rate = 0; tcb_desc->RTSSC = 0; - tcb_desc->bRTSBW = false; + tcb_desc->rts_bw = false; } static void rtllib_txrate_selectmode(struct rtllib_device *ieee, -- 2.30.2