Message ID | 20240226035624.370443-18-tdavies@darkphysics.net |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-80499-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1863397dyb; Sun, 25 Feb 2024 20:25:32 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUgnVr7QG4SsYXKoSJzaFMeR/bNj4YYmvXQMwu2DCNBx6CtS3c1gColPoMrlKnhR0py4fK+CJb+8EIcY9rTWbzQZfXquA== X-Google-Smtp-Source: AGHT+IG/o/kulWvpEZS2sk+RTmCZXs/MweraU2wL8Ssyo2WJRdTlVz9kOqrAho2MK0wWoWAa+VLb X-Received: by 2002:a25:690c:0:b0:dcc:933f:ea83 with SMTP id e12-20020a25690c000000b00dcc933fea83mr3143504ybc.30.1708921531914; Sun, 25 Feb 2024 20:25:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708921531; cv=pass; d=google.com; s=arc-20160816; b=oAaXBHNq1MeTzQX6cpaKp9/vhbFXE/oChcQ+EOc8rhf95GMX/wsuE7cfEL+RNvGD15 +6/B0abVKzoIHW+IUYhBk/UZAUFm87+2KZBEpp/vJadNOM6SL8MQL8Wd1gE1f95iqEct 1Ujzp5uIo/tJGRXRrCTvKizynIKLqC8GQtaNlB+kM+RJgPKHUg1FDJUYnEWoYU9k/jqw ESpG3v/h573wW9U34jGk/IrmP7A+jVTIaLSW8yshdKoQR27yQaCBoXSDTqB9ymps0dWi 5HGVvZsGXy3U85la+No08WEigMOGVwVcxhNHMkKzkNp+PMmboxYXRgO1ZJVvOnayrPq7 0bXQ== 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=dHL7kvJVXgjGfJYrabpYDmkLoWmPK0wOdeTjteAaFF8=; fh=/Q/YmsGiyT1D7W5xN5Opz27nUXxReYOBTgFEuR7lNLQ=; b=N7kRtCBBGvSoF+ZShD3w5tXje6oG7zwBmGFt0d1/+uVFZlvJpuoU2h34q39qL64K4f WI9dLhMJrDGCHa8pTRE/ybEA5jWjSMTzYo0j1Yw8TTB+qXAXpnGHBeaXJJz3wuvu8mNh 0ZZx1mnNaG3dX1s5IYCJGAvY/wj1dibVMkWRwXk29UVRYOGiKQt0vWVo8zvsIZ0i6x85 CYSqzCsFKxG1h6rokmXBd2c6tbiMoVa7ejlT0xk7RXeXsZkUaNugPM5o5H5k8nLBe1mN nwZEBAw5abe6PYPPlLaMYWyfBOdF+m+exzVZE1wjRpq3AguIgEEKKKza+HzsCK+h3SIy uTXQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=jgDFEyg+; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-80499-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80499-ouuuleilei=gmail.com@vger.kernel.org" Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id g26-20020ac870da000000b0042e80d034desi1931041qtp.66.2024.02.25.20.25.31 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 20:25:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80499-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=jgDFEyg+; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-80499-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80499-ouuuleilei=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 779031C23000 for <ouuuleilei@gmail.com>; Mon, 26 Feb 2024 04:01:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C5F7C2EB06; Mon, 26 Feb 2024 03:56:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="jgDFEyg+" Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) (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 C14AF1F94C for <linux-kernel@vger.kernel.org>; Mon, 26 Feb 2024 03:56:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708919805; cv=none; b=Za0F82HUxjO91jqa7PUiB2svmrLcp2GgeAuAJU2nzX+UDCKO+TJWkLbvSn8xccjSyM0zB0ORBHkUrNKtl7HhxHWot19UbBt94Z7rY2FnThWzXNtpkngL91R1qZQJYHRryo9q52Tm+I/w1J+CiNp2cljim17c9ckJgWe49VnTtNg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708919805; c=relaxed/simple; bh=lY6LEt+VlaNFkPSMPKLNDUAWoJIQyD3uckL91txfO0w=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=oSgHcYISfGFtNE/H5VSiYj6dM2mudFVo9TxOG7z8biGG61e2/Sk8ADFUi7me7QsCFHy30m/h29UX5EjHrdU9rnxS4QMptjceHwavmOwrau+bM2Kb+TQGkhpGSDUaW6RcEUlGGAPsER3V3iqBbL5EkYP8I/FfMi/1/xSNrsr5z0I= 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=jgDFEyg+; arc=none smtp.client-ip=209.85.214.171 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-f171.google.com with SMTP id d9443c01a7336-1dc9222b337so8292975ad.2 for <linux-kernel@vger.kernel.org>; Sun, 25 Feb 2024 19:56:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1708919803; x=1709524603; 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=dHL7kvJVXgjGfJYrabpYDmkLoWmPK0wOdeTjteAaFF8=; b=jgDFEyg+IELbM65856poKSojVeoEarGjWLry/t7LoY33B0LfUxZ+qYAu4W7VJNMkjJ zoczC1BSlY9UDH+e23OezYRnTRIcZXk4AOQr2upUl6PKU0n+JfPfSMSQNtzhwMwX1f/h wyXZWelkZIA4RyRW+xYtWv/r4PWh8ELh4ErDKYM9AVtpeXzSVE7KklpccXfa4YObNcSr WrZzPsjpTMhYz6m6C8SiPxs0IqX+AfG3FiQH3Qt+Nz5ZHzLTmo9GenPLifralhA2Uv2n pwSkg6DCFYpZgMGfUybX8pC1yRDyQM+qW5DtZYxrGwAGVZWhTyrTUMNyilUisT0mE5iG k4MQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708919803; x=1709524603; 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=dHL7kvJVXgjGfJYrabpYDmkLoWmPK0wOdeTjteAaFF8=; b=XiQOO8jse2CDGQFcE4RlrrruEGQ5Ufy7+Ulqh9FwyBiq3dMENzcsjHg2UeERkkGIur XKN1FANop0urDWijqVqmjJUNtoO6Hax2YWNcKHVoAoqiCv3CdOUBjB0DDP1nOd9u79Al SCHD1ibgLRGR8K3jAuEoMNpgnyLCN07JCECSAOqqtTvY/0CFYmFH78oGUzexOQk+sl0c FpXTFHXvkxyAci2jZxuYFaJIx03xIMUj99NjdaMP6Eq7aUKGyMdwpuUZKFVHhadMya62 n8bxBqcNxFVv7aqeaFOW/h6dXX119Vywbbrjv2drokGSpzR3C6ZCnkS7DLKzNpRkScmd b3hA== X-Forwarded-Encrypted: i=1; AJvYcCXVz5vEZnY6u1N0d+X9UppmjSNRVbvWiRNoFNvK1e33/Ub0KjcDbcHHj5dPEMjxZxsGoyhsdgQE4fnwn6Nsah/biY9d4C14JQnki+tr X-Gm-Message-State: AOJu0YyC6K1pOuzvmtIWyC5Qm8plDQqe+Dg9P83yYqf6OgQpx7B76Hru iUjch0qSKX5qRU0SzgYyGAYQKC52lZqYTfWn7qtUgPCgjUG+n4hO8q2sdCy3D4Ani6zU5C6Kk+9 j X-Received: by 2002:a17:902:e5cf:b0:1db:7c5e:f07c with SMTP id u15-20020a170902e5cf00b001db7c5ef07cmr8802969plf.66.1708919803225; Sun, 25 Feb 2024 19:56:43 -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 kh5-20020a170903064500b001d8a93fa5b1sm2897615plb.131.2024.02.25.19.56.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 19:56:42 -0800 (PST) From: Tree Davies <tdavies@darkphysics.net> 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 <tdavies@darkphysics.net> Subject: [PATCH 17/20] Staging: rtl8192e: Rename varoable asSta Date: Sun, 25 Feb 2024 19:56:21 -0800 Message-Id: <20240226035624.370443-18-tdavies@darkphysics.net> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240226035624.370443-1-tdavies@darkphysics.net> References: <20240226035624.370443-1-tdavies@darkphysics.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791934103795011572 X-GMAIL-MSGID: 1791934103795011572 |
Series |
Staging: rtl8192e: Fix checkpatch warning for rtllib_softmac.c
|
|
Commit Message
Tree Davies
Feb. 26, 2024, 3:56 a.m. UTC
Rename variable asSta to addr as it references bssid addr,
and fixes checkpatch warning Avoid CamelCase,
Signed-off-by: Tree Davies <tdavies@darkphysics.net>
---
drivers/staging/rtl8192e/rtllib_softmac.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c index bc08018185ca..644e2dffd185 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -2238,14 +2238,14 @@ u8 rtllib_ap_sec_type(struct rtllib_device *ieee) } static void rtllib_mlme_disassociate_request(struct rtllib_device *rtllib, - u8 *asSta, u8 rsn) + u8 *addr, u8 rsn) { u8 i; u8 op_mode; - remove_peer_ts(rtllib, asSta); + remove_peer_ts(rtllib, addr); - if (memcmp(rtllib->current_network.bssid, asSta, 6) == 0) { + if (memcmp(rtllib->current_network.bssid, addr, 6) == 0) { rtllib->link_state = MAC80211_NOLINK; for (i = 0; i < 6; i++)