Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1720922rbb; Mon, 26 Feb 2024 21:22:11 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUd1/WveWEOOIAZJRmfTRQjfQjth7+yndRw9c4tipkq9UpOLBWwu7NzqzlSGK9ZqNZUlPdS9kZJhVzT7BRDfmAboMkkA9jkwWmP0ZxUxQ== X-Google-Smtp-Source: AGHT+IGw+o+tphrIQzRfCofYarAjGiOZPXtlq6+NLw7bzF7K39HvlGe7MzP8ly/sHSBsocXTun5K X-Received: by 2002:a05:6402:148d:b0:565:7116:11d with SMTP id e13-20020a056402148d00b005657116011dmr6096597edv.27.1709011331775; Mon, 26 Feb 2024 21:22:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709011331; cv=pass; d=google.com; s=arc-20160816; b=qZ0rOcGqmPw2gpDPi9jL8C1st5bFBS1ZWCm4He76mKd98W2tGvnOlZNyrSa9CelGfa Xvc6Zf1+fIl2J+3XpL6L3EOP72MlNkdXrzXv3jPWJ6aIq5hUFtokbdw0zWHTr9dPA+4d t1Dr2zAdjM2SlcKlCMFZw5xgUOBWyRk7oMiwIssyF/OHFzz/gf9Z2ElzQ/XH+Aw3VEMK wYHohdECOf4DXLqt51mtDVwZEBDat1aHdtEQ002fM+3h9l4YTTeZCSsJrLuBlWdKhn8f on+3o8WfGL07lYEQxmxwf0kI8XPAQAh/r3pkIPhvzaCxoTWuZrHqalXE3fRkWeSUOv6t O6nw== 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=kWeyU698U5yeL22d4/joOw8xFVDMJsDJjbUrJw2JctY=; fh=YvorkALAT1Ceo1CnN0baM0ndnFbt9pRs8MW4op/bZeM=; b=J5cQcc+mcOytBOZQ7zJGNMBQaWnO2RU+b2uvsEAjP1ZsiRcoE2qMr5m5QnKitIkllT sCPe6aP+GJp5MSH+cYmOQar47ewe3wBGJFneOKKhuteA7A9DRe8UnS7sWEvzBfMUxEgy 6Mw8ruoG8sGUNKvD3PFNOGh6zP1agIHRHTHFQIXG67v0X5o2GlNfPhuKSEJ6yPouYXrm IdIBaEjIyHnpTxVPKwX/MbgVpcHnSpxcUdNSN7AIWkzAShh+2DwzBT0iPtFthikRvIWp iaZl/O/Jexz3XvCmp3pZNNlzaUsVt8IUoEb5gOgl/4UhhYg+oIWPAPmbczwtEwUSsrCT /vRw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=a9jfnqXI; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-82699-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82699-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id t15-20020a056402524f00b0056578ed894csi416680edd.641.2024.02.26.21.22.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 21:22:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-82699-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=a9jfnqXI; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-82699-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82699-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 74F6E1F248A5 for ; Tue, 27 Feb 2024 04:45:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CD9EE57330; Tue, 27 Feb 2024 04:42:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="a9jfnqXI" Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) (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 7892E52F95 for ; Tue, 27 Feb 2024 04:42:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709008942; cv=none; b=jFQNnsWcKEE/2wWH2lvpdzDYX9ZpBJLofjLyDw1IMhb3QRd/driBaAxdE3GrhPAAT4sWEzWXe7VetKdWcHVpD5qtDJJXjeR+zdu/TYPnioueKgHZMYRWLw7pv9mm6OJoR8eahLwUVjRVDd1YpchvHQa7iJCkPvHxEFxCEgWGvqo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709008942; c=relaxed/simple; bh=BF/sv0OBJ+auhhZiLNMXTsH8e8AmZBwl76hXFCd5Spg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Q1xU+SVBF8AfXZ/umB1K6Mu9Klm4bXlprDez1aDWy4ZhsZ8M2viPrrp79Ga3HlQkNAUAkraQvZ83/6M/pVyVqj7VvCcoHWWJslE+WTGdau+t1bfFv61xFIjWlrstzDxXElvn76i+/iuc9KxkVZkZxPlm0a81vAH6kgLPc8xxDYc= 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=a9jfnqXI; arc=none smtp.client-ip=209.85.210.179 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-f179.google.com with SMTP id d2e1a72fcca58-6e4f3cbb518so1153772b3a.3 for ; Mon, 26 Feb 2024 20:42:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1709008941; x=1709613741; 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=kWeyU698U5yeL22d4/joOw8xFVDMJsDJjbUrJw2JctY=; b=a9jfnqXI7I35H87E0V1TkdD8v5jxZg/BLMtLvqtf/26AbltWuuFl+/4Jl4mNt55W0k yY3x6AfQZVsA00+Y/EVR1x0xS39cu45zmSqOVGraUPN2zk1G9XesahMUK75bEtKPnFyu oL74r320F5o5ZVlMkXdq/MtYTlzJKvlTSr4hHSJC6z0b+F6GZPbkv6vmhtgMadZr1A2C dTQ4wbNqBhi4Y46NOlHBx8A3R2DxBNOzBMZ88KcUqCpotNbNcK3prspfbyvuxwKvyLnS J4GYmQjjz0YH1quWaELLLtAzBuqKVXUZWNZjENTDqV9uS78nywkAauEjT7V0itmfKq3S GADw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709008941; x=1709613741; 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=kWeyU698U5yeL22d4/joOw8xFVDMJsDJjbUrJw2JctY=; b=YbJZ6CN0fuor0aMyiQ2GlX926rEZJPR7+VsnndUDtlAWziP1FhZ8QOXz3lnu2xFIa1 IRwtXZoz4ogm5Ii63EtS2I6FlB0/Nult0KZy22vohlPk62JJChvpYpY3PYY/Z6UCU6mj LMn9XF7mXItlR4xOnw62ZhtoF9Xmg1ZoEmtGAc+8hPN2W/Rv7EkglvcfbxbKI8Z+0TOo ikVlWamve5Itb9KvrpH+wdQZa9Cz4AXgk06XQuwyAz6p5fOGJV7y0bUvAShqGFNQ+fT5 riypAjQc+xFwJN/61jlf61s2ZOVTbakfJcvtZ9S+Wkv4iC2N2DyT4N9cfvCZLK7OrRxU gdqQ== X-Forwarded-Encrypted: i=1; AJvYcCXiL0BGRh2CXpkZ1UkH6prdOK98s6HUj8mmjLZMWLBFoPzAb0xYWARNNYdHBx/MCr9dSwg7qudyIgsn4OpcSeVgVyW6Dm4MM2yWPNuH X-Gm-Message-State: AOJu0YwmSgIr2lgFGZdWfc0JaIkQVjhIkOOk+1hwsACoydMPLYwXLyIm ARS404WbuEyhOuNfp6Ej89dFCifiL5Cdx+uB3rqi6OZLiw54SQGDvO1u54QpRqI= X-Received: by 2002:a05:6a00:3d54:b0:6e5:3b52:d4bc with SMTP id lp20-20020a056a003d5400b006e53b52d4bcmr3542618pfb.15.1709008940787; Mon, 26 Feb 2024 20:42:20 -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.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 20:42:20 -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 17/20] Staging: rtl8192e: Rename varoable asSta Date: Mon, 26 Feb 2024 20:41:54 -0800 Message-Id: <20240227044157.407379-18-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 asSta to addr as it references bssid addr, and fixes checkpatch warning Avoid CamelCase, Signed-off-by: Tree Davies --- v2: no changes 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 567891123960..d19895220878 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