Message ID | 20240820-mwifiex-cleanup-v1-6-320d8de4a4b7@pengutronix.de (mailing list archive) |
---|---|
State | Changes Requested |
Delegated to: | Kalle Valo |
Headers | show
Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CF3E618F2CC for <linux-wireless@vger.kernel.org>; Tue, 20 Aug 2024 11:55:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724154956; cv=none; b=DlQ4Oi9uyxu/HaaiBxUXE6nc2maYEwkoHv8jVqsPidtW5v5FduPln5Z7U6Mcaz0pIo1k6n3CEknZr1JcP5soku3v3ahJoWPv7A8aK0nkMkvfY37P6bFvS33qoLZ8m2jwwhAluDljO+C6mlz2CUW+qXciUwqK/xPkpI3HE53dnnY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724154956; c=relaxed/simple; bh=KHEz/0xup4pwL2LyScOW5VSyfQ62oNVFQyjfwNSqQos=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=fiCzlmAQQHqQU8WJoiL+vgkfBhqfvAq2DCbFXg3608hBqgemvx1uu1KTJayW4b3ooa80z4emK4lEPGRHkEgLU25VU3LrorHCDiIZIQTZDl8s7l+iwB1IzXBBY0HUBMSitM/0X3QtO6OpuwpgJyMyNUOjJQIVA/Es2BHL6hjK4+0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <s.hauer@pengutronix.de>) id 1sgNSS-0000Al-5V; Tue, 20 Aug 2024 13:55:28 +0200 Received: from [2a0a:edc0:0:1101:1d::28] (helo=dude02.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <s.hauer@pengutronix.de>) id 1sgNSR-001lLk-Ew; Tue, 20 Aug 2024 13:55:27 +0200 Received: from localhost ([::1] helo=dude02.red.stw.pengutronix.de) by dude02.red.stw.pengutronix.de with esmtp (Exim 4.96) (envelope-from <s.hauer@pengutronix.de>) id 1sgNSR-00GnIQ-1A; Tue, 20 Aug 2024 13:55:27 +0200 From: Sascha Hauer <s.hauer@pengutronix.de> Date: Tue, 20 Aug 2024 13:55:31 +0200 Subject: [PATCH 06/31] wifi: mwifiex: use mwifiex_deauthenticate_all() Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: <linux-wireless.vger.kernel.org> List-Subscribe: <mailto:linux-wireless+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-wireless+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240820-mwifiex-cleanup-v1-6-320d8de4a4b7@pengutronix.de> References: <20240820-mwifiex-cleanup-v1-0-320d8de4a4b7@pengutronix.de> In-Reply-To: <20240820-mwifiex-cleanup-v1-0-320d8de4a4b7@pengutronix.de> To: Brian Norris <briannorris@chromium.org>, Francesco Dolcini <francesco@dolcini.it>, Kalle Valo <kvalo@kernel.org> Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de, Sascha Hauer <s.hauer@pengutronix.de> X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1724154927; l=892; i=s.hauer@pengutronix.de; s=20230412; h=from:subject:message-id; bh=KHEz/0xup4pwL2LyScOW5VSyfQ62oNVFQyjfwNSqQos=; b=lTbIn/GCOcshW5esMbSpTMeYVvQwSCOIycmlqUfvjsLRiu3gdkUgfuSPwlThRvMhCv3o5NP2A 4C8AQavAFgoCQ4jdYf5jk+gwxnpZAe/PGw/2J0MyslZkJw0CVDLbM0M X-Developer-Key: i=s.hauer@pengutronix.de; a=ed25519; pk=4kuc9ocmECiBJKWxYgqyhtZOHj5AWi7+d0n/UjhkwTg= X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: s.hauer@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-wireless@vger.kernel.org |
Series |
wifi: mwifiex: cleanup driver
|
expand
|
diff --git a/drivers/net/wireless/marvell/mwifiex/main.c b/drivers/net/wireless/marvell/mwifiex/main.c index f6b0060dc87dd..7cb90a6a8ccab 100644 --- a/drivers/net/wireless/marvell/mwifiex/main.c +++ b/drivers/net/wireless/marvell/mwifiex/main.c @@ -1525,7 +1525,7 @@ int mwifiex_shutdown_sw(struct mwifiex_adapter *adapter) reinit_completion(adapter->fw_done); priv = mwifiex_get_priv(adapter, MWIFIEX_BSS_ROLE_ANY); - mwifiex_deauthenticate(priv, NULL); + mwifiex_deauthenticate_all(adapter); mwifiex_init_shutdown_fw(priv, MWIFIEX_FUNC_SHUTDOWN);
mwifiex_shutdown_sw() is used to shutdown the whole adapter, so it makes more sense to deauthenticate all privs, not only the first one. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> --- drivers/net/wireless/marvell/mwifiex/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)