Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1709466rbb; Mon, 26 Feb 2024 20:43:32 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXf7FLo31Ul6nndTgQZySkdG3Qqh2S6+EdVY8Pxw3UIUrThC4nzyKvaUnHMENNfCM5abLk77MmF+hX3HZdMUODfkrzpavgl2QT+WEPLRw== X-Google-Smtp-Source: AGHT+IGdavHsjKSnHDrEK3HzK3PjMnoZkchvr/euZnAevebvTfLKUwRQRdxY7//JRwZ+jWNTlD+k X-Received: by 2002:a17:90a:7889:b0:29a:b13a:cacf with SMTP id x9-20020a17090a788900b0029ab13acacfmr8389910pjk.16.1709009011971; Mon, 26 Feb 2024 20:43:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709009011; cv=pass; d=google.com; s=arc-20160816; b=cqtodWA7CvDFmdgY/V/NMtvU5QG1n4LMiBIMwQMzDrB/2lGjF2POR7FkfqzC+JNqRo AdJjxXWCFn7BFs0VLGf+pr58THkR621jKFVwL9DGbhwg9VzgPqjkp/1EvZXvfsVUTlLQ JG3cLnicLFnkzY0vE/1L7KOFhAc/6LrsUZm2czLybzXqwvAFjy9YF0YZCtfKHVUaRFBR g1j25H2T7AIRmcAFh9Jiy76/w9T4/UXUMYP1ozf7rYyADC7b9xUvLvFU/EPAT5QsI55G VnWCFoBtxTB9dA5/HDQsxliAFwHwBG+mQBuQqVQh1BZ9GcEYRlXt8uSUIdnmrfUQplVn Na7g== 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=4OTz9b34bEXHsUaswBLFVAyQKLcaocJ+qtGhmHq+b+c=; fh=dSd4WuL89E2Ict4rruYM0ux23Lnp+Uh4Ahh1pEO7/I8=; b=hxcT+nVKJaAjSOxEp/6PVqkj94ncNlqUNY3Bp9xZovDZ+42BJaqdx6wkScJ2yKNUGe LNgPKfLDLyyBppg/YW++YbWEOmIS/EZGjgBcHso3r5RmBSFZfTMkh1yCoAUwFGbuOx2n MDDWSEPV1R/tmfFXEa2C7v6MdY0j5SecgcZ1OnfCoLJYm76lgO3MtsMEiEHExXrmvqxp CjCI2lx4R84Zg6/Eavvr+SVKDA2LnB6KBeauwHEzPA0A5iny7XMtjXcA4PQTF+T57mbP m3dQAP7W5syPrDdu0r4AtDsIeb5J251J7+YkETkSUoIv51P1kt7NFa4L/TmNBRAv99cx jrUA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=Wa74ECTQ; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-82690-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82690-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 ls41-20020a056a00742900b006e5377a39a3si2004647pfb.40.2024.02.26.20.43.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 20:43:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-82690-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=Wa74ECTQ; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-82690-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82690-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 A96E4285A9D for ; Tue, 27 Feb 2024 04:43:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 76DB054BFE; Tue, 27 Feb 2024 04:42:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="Wa74ECTQ" Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) (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 EF36154746 for ; Tue, 27 Feb 2024 04:42:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709008932; cv=none; b=rhRERs49Zpbna1JUbd15TgHF8WKMecICMh/pd071C2gnBqEFc+ChDLxDof8M5CVyjLjcJgTkYRcQ3rRxXzipz7e4GK+m0jiFrKNPpiAM+hhAhgmaiB+EYaW/2MlxopP0cbOx1S8x9Tm5z46eNmicoGeIIaJoMMSQoZjGALDzZ68= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709008932; c=relaxed/simple; bh=NgTkCr0gehBgV1KCivs1oDK2kOFW7oHrFLKDK+Ht7tk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=FZEXyfOh3UccnGpRtQrVuswy2KAZK1lvxNp+AQ3jGq9x3NaxhJ06T0GfbEFP5mRTutX+/86iG6SuK6TuK2C8B8hEADPFTQB2ousB0Iwacm8P5f50lS+iNImm5ygGte5bdg6+37mdnlQaaxbaMRS6fBARlv5UF2uZh6LGNVOKtIg= 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=Wa74ECTQ; arc=none smtp.client-ip=209.85.210.170 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-f170.google.com with SMTP id d2e1a72fcca58-6e45d0c9676so2309983b3a.0 for ; Mon, 26 Feb 2024 20:42:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1709008930; x=1709613730; 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=4OTz9b34bEXHsUaswBLFVAyQKLcaocJ+qtGhmHq+b+c=; b=Wa74ECTQ8+VQKeGxpXty0+dC+Ajh6F+F3uBjcX6ZTMieqCuTziLULYePTDPJTm3kwr R8IesraEdsEWPGRxcGIwE4ObSB2EDOvuMNwdpQ1EYbaSAcXARO9Vvj1SXPjGuZPLs25f 4bWX25pxhKwpEO2tvkxtsHWkl7n0K39XBm2fMV9mvxSUGzr4EACqTCpM8uwGL5banh1H 6ToJua9EDHYitoPBAOEJW5KVKtmj6CwAmwBSOJ6V9PVtEeDDIlwgw/r7zIhJXAjAsmhT dBnvlY96lfHWSAbCLyTwQKjIedXmCR6LyWEfNN4srd4MUzy6yBcSTYFbMOhjGKE7wTDs Rg1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709008930; x=1709613730; 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=4OTz9b34bEXHsUaswBLFVAyQKLcaocJ+qtGhmHq+b+c=; b=IbWyxYNCVUGjBiNXHiVN8j8qC3opaIrhuWtB2BCzF72QlL2bo3U737JqaJNo1ktPgM Nv82gq06cGlq0h3ucyeJZ4kGXrgbM0Ht/yfPKsrKj6cskLeeVoCFj3b6TnE+0HjrH4bY x+0awwhkwubWXBfjJp0e7UkgiDHR/PGctutD6nn8cdHL8dAbSOz3n0PTp6KljrMAyCgp 8rdnh6maJ26HC41CPUQeQYCdvmNe0g6tXtjIFvZRzqLKVjq0JLrwG4OlT52emHCX4AvN vI4gV7QatA2Ci7eaQUo8YtwJ7Pl98joHOGOhzpI37AgPXbnk7bj1vWryeOJ18Syr5nTh wbVQ== X-Forwarded-Encrypted: i=1; AJvYcCXWKhQUPRiuupBE62iXXyR7z4Y9r9fOQUTxldt3/hKEKYPe37WQTmECFClQEONvyOJM+2+NJIajNJEuy69fZu+jOkUS9RrTRolnEsX0 X-Gm-Message-State: AOJu0Yzb7BQv4BOpWsfW5/X0lkQX/DAjitjncrZ/SloRQrwEizKDnxju EhDIEANIGKPNn+VwqzDdvxXGHkFPgjBUx3zfeCPOKT+l5tYFPB/ws5AMNN4FTek= X-Received: by 2002:a05:6a21:998f:b0:1a1:e4c:2ff8 with SMTP id ve15-20020a056a21998f00b001a10e4c2ff8mr1089510pzb.12.1709008930323; Mon, 26 Feb 2024 20:42:10 -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 e30-20020aa798de000000b006e4ecc3e394sm4899782pfm.79.2024.02.26.20.42.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 20:42:10 -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 08/20] Staging: rtl8192e: Rename variable bCcxRmEnable Date: Mon, 26 Feb 2024 20:41:45 -0800 Message-Id: <20240227044157.407379-9-tdavies@darkphysics.net> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240227044157.407379-1-tdavies@darkphysics.net> References: <20240227044157.407379-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 bCcxRmEnable to ccx_rm_enable to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- v2: no changes drivers/staging/rtl8192e/rtllib.h | 2 +- drivers/staging/rtl8192e/rtllib_rx.c | 8 ++++---- drivers/staging/rtl8192e/rtllib_softmac.c | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index 6cab19b03f4f..9ec4a3b8ae3c 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -929,7 +929,7 @@ struct rtllib_network { bool bWithAironetIE; bool ckip_supported; - bool bCcxRmEnable; + bool ccx_rm_enable; u8 CcxRmState[2]; bool bMBssidValid; u8 MBssidMask; diff --git a/drivers/staging/rtl8192e/rtllib_rx.c b/drivers/staging/rtl8192e/rtllib_rx.c index cdb7e87c0c89..103117692a88 100644 --- a/drivers/staging/rtl8192e/rtllib_rx.c +++ b/drivers/staging/rtl8192e/rtllib_rx.c @@ -1818,9 +1818,9 @@ static void rtllib_parse_mife_generic(struct rtllib_device *ieee, if (info_element->len == 6) { memcpy(network->CcxRmState, &info_element->data[4], 2); if (network->CcxRmState[0] != 0) - network->bCcxRmEnable = true; + network->ccx_rm_enable = true; else - network->bCcxRmEnable = false; + network->ccx_rm_enable = false; network->MBssidMask = network->CcxRmState[1] & 0x07; if (network->MBssidMask != 0) { network->bMBssidValid = true; @@ -1833,7 +1833,7 @@ static void rtllib_parse_mife_generic(struct rtllib_device *ieee, network->bMBssidValid = false; } } else { - network->bCcxRmEnable = false; + network->ccx_rm_enable = false; } } if (info_element->len > 4 && @@ -2351,7 +2351,7 @@ static inline void update_network(struct rtllib_device *ieee, dst->bWithAironetIE = src->bWithAironetIE; dst->ckip_supported = src->ckip_supported; memcpy(dst->CcxRmState, src->CcxRmState, 2); - dst->bCcxRmEnable = src->bCcxRmEnable; + dst->ccx_rm_enable = src->ccx_rm_enable; dst->MBssidMask = src->MBssidMask; dst->bMBssidValid = src->bMBssidValid; memcpy(dst->MBssid, src->MBssid, 6); diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c index 0915f4f8761f..f5e0741af047 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -742,7 +742,7 @@ rtllib_association_req(struct rtllib_network *beacon, if (beacon->ckip_supported) ckip_ie_len = 30 + 2; - if (beacon->bCcxRmEnable) + if (beacon->ccx_rm_enable) ccxrm_ie_len = 6 + 2; if (beacon->BssCcxVerNumber >= 2) cxvernum_ie_len = 5 + 2; @@ -837,7 +837,7 @@ rtllib_association_req(struct rtllib_network *beacon, tag += osCcxAironetIE.Length; } - if (beacon->bCcxRmEnable) { + if (beacon->ccx_rm_enable) { static const u8 CcxRmCapBuf[] = {0x00, 0x40, 0x96, 0x01, 0x01, 0x00}; struct octet_string os_ccx_rm_cap; -- 2.39.2