Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1106473rbb; Sun, 25 Feb 2024 20:55:18 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX8J808cTYR3DX/TybrgR4bEAaaYYEjpjKMysFY5Zxq7C6mNpkb3FB576NjZHPcWMc8oKzB+fGMuvLLEUc0FOcEvK+7LORSTu2+OksVIg== X-Google-Smtp-Source: AGHT+IGER0hwUZAtoPaOhO1lWmMOob066ky21C6WfNEZiwbK2bru35IyAuOyX9ss/t8mwj2v7d6s X-Received: by 2002:a0c:e113:0:b0:68f:3452:584 with SMTP id w19-20020a0ce113000000b0068f34520584mr6552568qvk.59.1708923318307; Sun, 25 Feb 2024 20:55:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708923318; cv=pass; d=google.com; s=arc-20160816; b=FuYl1vwAxAw+8FqFdix59nB/0hd8Mev28d4Z53RRMYXZh2UEq42aiEK8Uy3FrwU6hG HWdyFZEQiFpwtlLGOFRXmV1VzY2o4Lc52IO9UrrhDCjX1V2x8jv1kwGsnnsEE16ti2qj HTJDy+9CImZYCuB8QH7B1wnFkY2Vv9O6tkwGF0HDJkQJ2MInT9Pzkx1rAI8AOYVZ8TEl U3f5ihTNLmvzAWweN/VFcvV6BzzeTNt2mR6c2eq2p/6qPBUYwxI+jLYSuvIUFjN6lI8J 7NXjX7hmr0LdJg4VqQV9BgUckK+fECvMMz+vWPoSbl4ELkCeAJjOcUa5asLflqIN1C0M +uZw== 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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80499-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id kl12-20020a056214518c00b0068f90fd3a59si4309905qvb.219.2024.02.25.20.55.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 20:55:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80499-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; 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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80499-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 6E86D1C22B30 for ; Mon, 26 Feb 2024 04:00:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 04D0624205; Mon, 26 Feb 2024 03:56:46 +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 ; 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 ; 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 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 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: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Rename variable asSta to addr as it references bssid addr, and fixes checkpatch warning Avoid CamelCase, Signed-off-by: Tree Davies --- 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++) -- 2.39.2