Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp896741rdb; Fri, 26 Jan 2024 14:33:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IELBq5khT9QQQzQFbn5lcP2oacEEy9Z1t1A/j0R8lhAoNNWkm6X13mqr053DdJyIe9ioWNq X-Received: by 2002:adf:f3c9:0:b0:337:c409:717a with SMTP id g9-20020adff3c9000000b00337c409717amr241912wrp.110.1706308438593; Fri, 26 Jan 2024 14:33:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706308438; cv=pass; d=google.com; s=arc-20160816; b=slDJ7sDHOtwWrIdIruunix9qf9Gk4Dt8CKy3XofTR2BbVZX31XoM15fujCT1kDatKH wrv2gdV2wLVBYAXiNeA4NXLtHvhuKDSnRyakuXm74J/0WEwPd8fd+nJPCgcFutYiCIpp uKthO51nTqpiIFC1ZpawnJpozFDkBxa/HI/osH5ocxwnsnVdNAvUVFpDWE2kM69TQ7ar 7i+2gucatlWSav3+Ee5Q4TyCBVWVlTvLTNCebfixYIRDSXXR1HAV1cpKbsse1ivKaKAr BqD7CanTAFFBvMNi0pS9ElRjRMNKxiLmiZhbDyWluz0lSDe+oAFnvsoyfcXvyLoVQ9D4 57Lw== 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=Eua66fvQaSKTG5liL3X4G3GQFda8Y7Tc5FSILm4aWXs=; fh=p32Pg0zBdFjDUOpUp1txX3SLnGswM8C/CMMa7TUpsLA=; b=ca9TrEZim6DDT+z2pIspXofNdaM/03ljCmFXqTeifDKYD2mSU9SuEhE9l66YJnXfuY VMuspwCQW6aTr0ZUwXk1Mt/LOA/aY0RGKJEVdWho8JKutGNxBhprgnzVvaCccEyYAFcp rSo7BJ6ELSy0vFzGPA8koPpRMvOxmbsGP+regVbbgTMf/pID416dFzxdiwQ63Sg2ovZM eAUliVWZFhaLbPaBwKLghxddeUxMQme3UqeyPXYZaA2s9O4J+8IlhEi9TSy8uwO1Xzkk X/wMpATZU/JFSy1TAR+u7M/gMBWnYkeoMr2228MWWgFUT99O5GIBtO5DciS6iJ7xDHWO W4lg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=M7hHVZq3; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-40769-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40769-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 i10-20020a1709063c4a00b00a30a56baf21si1007067ejg.590.2024.01.26.14.33.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 14:33:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-40769-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=M7hHVZq3; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-40769-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40769-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 5993F1F24E25 for ; Fri, 26 Jan 2024 22:33:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E444D58AAC; Fri, 26 Jan 2024 22:31:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="M7hHVZq3" Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) (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 3587A54BD0 for ; Fri, 26 Jan 2024 22:31:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706308307; cv=none; b=tzomV36IgnZIDT14nN4Ip086hjR+ZSBcNiTdc5PblysrQDFX6Cjp2SFm4ky3L/vs1O1s0PeZPOZdKInCxLUsAWRXBz6fNsae8dKyIOE06bNGE+HAdBNQUjfXZaJE5MxeaPB5DlXvQjwndzfPCiey/4tCh40/jYlmbor6EQyaYiE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706308307; c=relaxed/simple; bh=XtpWpK60biwfi1ZmNMgdSH05iLHa2F1aZ4kMFo4ME/I=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=PiPykP4r1LhEVZz8LGUYN0gZ1jLmSr0xjBxyXKINLHfEkvmW54BInC3k//uZKFUEVvBoqTUKIsFigM9RYq2BqPeTEzkrkqHKVy+cTA/NmFKJ+TvbBw0QTRpqkG+oRQilFqpPT+WhG1roPA30siu7xXU9iF9w93eELguiA15CDdA= 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=M7hHVZq3; arc=none smtp.client-ip=209.85.214.172 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-pl1-f172.google.com with SMTP id d9443c01a7336-1d8aadc624dso4978865ad.0 for ; Fri, 26 Jan 2024 14:31:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1706308305; x=1706913105; 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=Eua66fvQaSKTG5liL3X4G3GQFda8Y7Tc5FSILm4aWXs=; b=M7hHVZq3UY8yCtgGfTzHM2tSYEHushK/0MypaxPqu8rBsLOZnCjr4/UU77Ed2d3hTu kYnJ7VZoaj9/ks8lnGliN13QrF+hV5L/uObT4wTea1rfBnRGvULV+Y9bolTRqLEYNiqB p48BX1tz7H2abpYZbFAmYJkyA+GEslU2IYv7MVubk0NwUxkOj/5UXJlJAw3TAMQMw9M/ HFHnmsvStUhb0tDD2dpTf43xE9X6IEFG057vu3hDNJZPnml/z5bT+8GdlVSUh9jmdIir oAoLPnYKr9RChTVPKG1Sa0ITdyiJ7sJc1jbnO9vg+fj+MrEaxHsnjdJ93VNw2OJPZ/8w DYnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706308305; x=1706913105; 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=Eua66fvQaSKTG5liL3X4G3GQFda8Y7Tc5FSILm4aWXs=; b=D3LFtTppRKDQDBA0xU23DpbqxWe5+8+ccK5l6SpXsMwbdCporM34PM0rXqqwmqUXG8 m/m4tZ7NbBJciVgepvNVnwiSxzyOcarjgQ4VgTX/+LUJ8J9CJ5aIqk+AnWdQuUzjmlpz bMJi5FmMNcXbYBDees5DPN0GSpXvyUY9IQ9r31SlQ8QXD94myxzbYuGh87MAdpITOwsF QSzeR8cKT6bs7fKVpEWlkJCl4sqRmuhTS7qiSsa1CjOaHnmlVUSmeoDZFWsQeBottXSa HK6uJ5YhRhI1Z2IH/Kd7eaHDrdYWzcEllEjBj/9BY8/ASMAHGtfjpVenjOnuOuTX+694 yOOA== X-Gm-Message-State: AOJu0YyGGjZno1tpT1qe56UeCp3Cq5k9qA7P9hnyURKaNpIfnokcgJh6 JPtj0WKlmolF84FCq+z2zeMXkqIk4RDc9FH2dRphjipwmp1rMLx9wMUPyW7HDKU= X-Received: by 2002:a17:90a:3cc8:b0:290:6b0c:2603 with SMTP id k8-20020a17090a3cc800b002906b0c2603mr544678pjd.29.1706308305634; Fri, 26 Jan 2024 14:31:45 -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 n1-20020a170902d0c100b001d8a8f431b7sm737909pln.300.2024.01.26.14.31.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 14:31:45 -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 v2 10/18] Staging: rtl8192e: Rename variable SelfHTCap Date: Fri, 26 Jan 2024 14:30:58 -0800 Message-Id: <20240126223106.986093-11-tdavies@darkphysics.net> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240126223106.986093-1-tdavies@darkphysics.net> References: <20240126223106.986093-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 SelfHTCap to self_ht_cap to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- v2: No changes. drivers/staging/rtl8192e/rtl819x_HT.h | 2 +- drivers/staging/rtl8192e/rtl819x_HTProc.c | 4 ++-- drivers/staging/rtl8192e/rtllib_softmac.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HT.h b/drivers/staging/rtl8192e/rtl819x_HT.h index 18dab893270f..a4580445305d 100644 --- a/drivers/staging/rtl8192e/rtl819x_HT.h +++ b/drivers/staging/rtl8192e/rtl819x_HT.h @@ -98,7 +98,7 @@ struct rt_hi_throughput { u8 cur_short_gi_40mhz; u8 cur_short_gi_20mhz; enum ht_spec_ver peer_ht_spec_ver; - struct ht_capab_ele SelfHTCap; + struct ht_capab_ele self_ht_cap; u8 peer_ht_cap_buf[32]; u8 peer_ht_info_buf[32]; u8 ampdu_enable; diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rtl8192e/rtl819x_HTProc.c index 98f0ac80f1fd..76f115f56680 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -516,8 +516,8 @@ void ht_initialize_ht_info(struct rtllib_device *ieee) ht_info->current_mpdu_density = 0; ht_info->CurrentAMPDUFactor = ht_info->ampdu_factor; - memset((void *)(&ht_info->SelfHTCap), 0, - sizeof(ht_info->SelfHTCap)); + memset((void *)(&ht_info->self_ht_cap), 0, + sizeof(ht_info->self_ht_cap)); memset((void *)(&ht_info->peer_ht_cap_buf), 0, sizeof(ht_info->peer_ht_cap_buf)); memset((void *)(&ht_info->peer_ht_info_buf), 0, diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c index 545f79387991..60598b41fb9f 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -728,8 +728,8 @@ rtllib_association_req(struct rtllib_network *beacon, } if (ieee->ht_info->current_ht_support && ieee->ht_info->enable_ht) { - ht_cap_buf = (u8 *)&ieee->ht_info->SelfHTCap; - ht_cap_len = sizeof(ieee->ht_info->SelfHTCap); + ht_cap_buf = (u8 *)&ieee->ht_info->self_ht_cap; + ht_cap_len = sizeof(ieee->ht_info->self_ht_cap); ht_construct_capability_element(ieee, ht_cap_buf, &ht_cap_len, encrypt, true); if (ieee->ht_info->current_rt2rt_aggregation) { -- 2.39.2