Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp89664lqh; Mon, 6 May 2024 12:10:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWSKSTePwNKYS4TgKuIYd1DX51gyQCltYggDuCvgrrd8w6GChH4mtHRqamiVODhy8uS0c3feBcWu4IJwpIv6/h2wRZqlH6H3HfU9J+i3Q== X-Google-Smtp-Source: AGHT+IHOhIrFBYnTLRubAMwpG036N9mA16B/IL+k+ojH2LlwIX2uBEQGvKoR79V83JOWTxFNZFjk X-Received: by 2002:a05:6871:b1e:b0:229:7d01:7e03 with SMTP id fq30-20020a0568710b1e00b002297d017e03mr12225506oab.43.1715022654151; Mon, 06 May 2024 12:10:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715022654; cv=pass; d=google.com; s=arc-20160816; b=LkwktmQGwEEhuyxnesEdiYlkUPMCctZEffJYMVkyFJLvt5vZ9Jdwq/z+HFTS8cQ7Ff Xgz+5d2q7HosElLD/CPp41Us3gp8OEdK34jY7/GcQGtFlztEmbgU8FrmDxOU2Wwx+DuA 21ize3emTk4bOkX5/Bw8FZu38Gr5IK4kEgrktlYzaB6jUaAuVp6S/q2vz5Ilblue35Cz VCx3CPe66HFqXNt9Dcs39eUSRmYc11j92+uCeTBYQAH60YXy2JkHw8ay8nwazt/y3Cof adPdCG7Dhl2TBM0v6ZMUWlFCG1L/JAYTjOlPPOmNLRT69+PaaApDRmNYZIuJTtozRcBl 0FUw== 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=h6QVOh7HAtToWoQFnR5alrlPTrq9JbbxnxZ6/Y0lQgU=; fh=0ZKV22Mpi0Z+/zRlCC9GRUAKl0wLMxmYgR1nXO1NAEs=; b=xzQpH7XI7v3tpAQh50FU8WJK/fssYGTGT/fvY+NXaShLuTGgUvDCOJgFKnHjEHYTUL fnuDpnDPztZTAR5vy43687b2uWPmoPvxh4RHZqt3dpf/O7n88iknXmBH3bFLnyZMiCbK /luzMrFpGuosYOrhVZHMBbEH6x2Xe0/C/P6hAAcOwhubcsK9VsSs96VfMUEMhCvMWbHu RKppX5vpalbHvTHfbxGDQqFvArwFwHl2+IAwKm0jmcqKgzpEIhUGu+sqMSXqYQ+d5C90 /o0ThE6Kbt680IvYuFx3Y7B6vX4WmdJMKql5RF0CbKR11zbgJ5WoMEmVBg3sCn/auCL0 RyqQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=qp7iOicP; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-wireless+bounces-7236-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7236-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id a18-20020a656052000000b005e428bea40esi2570729pgp.0.2024.05.06.12.10.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 12:10:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-7236-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=qp7iOicP; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-wireless+bounces-7236-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7236-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net 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 139282831EA for ; Mon, 6 May 2024 19:10:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7C6491591EB; Mon, 6 May 2024 19:10:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b="qp7iOicP" X-Original-To: linux-wireless@vger.kernel.org Received: from sipsolutions.net (s3.sipsolutions.net [168.119.38.16]) (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 B5F72158DD7 for ; Mon, 6 May 2024 19:10:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=168.119.38.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715022643; cv=none; b=YZfbIuDWSB12g0wuBio+S6r6Jv+M/yLwB3zvCcnhVhmhpvWOZ2n9kjv//VuLTswHyV/OrTlXeLUMImgMLmZtj21sVNSrK/lC+kELNhRZOEW+pP6rn6P1fXuwg+KaP+5F5EM0u1YwIT5U8Yd3syONKA/y6bE5OPVz1fzhd068MBc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715022643; c=relaxed/simple; bh=b+Dj2cqUDvPB/fZ/kV2hEOcl4chUDeaAhAvguYwWH5E=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=D6UuxQ9fHHr04i1U/1WHlETKQiHGlU4/YFD9i5SJPmChWuvu85N3kEKnzcbbFs2t22Bt4gAe9G3mPlPdERbWRfd9HxdH9gzYoDUqWQCQz6E6XZ/TqoO5hq9+pzmrI+zmabEXxBLlilOnMIH3Akpee/r/6n6uW53BOOY3QFD1DyU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net; spf=pass smtp.mailfrom=sipsolutions.net; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b=qp7iOicP; arc=none smtp.client-ip=168.119.38.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sipsolutions.net DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Content-Type:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=h6QVOh7HAtToWoQFnR5alrlPTrq9JbbxnxZ6/Y0lQgU=; t=1715022641; x=1716232241; b=qp7iOicPN/+1S6/SON08Wph0UD2o4TxCleQ4SYZ4MJmZHbo g0nP6PqIO9b7YSk46hIx3XC0aU2AFso8A/Vdx3Zmb34mRPBAj4e7W4CN1YAips0+uLFSuLTNEKEhT 0v4xiHtiK5ACvcb/Elwplvd04Y/FltXFu5e1tu3PzRW4H0tiYikRmdsYKmzvrK9jIYe1kg3pw0dYA xbiHTTi/Xeazpq5ElRR9zYcoSLhDKG4u0ojECNiF0S+uMOy83a/Vd5WcttGK2uR/lSyqxwiTKbhwt oVun6boxVT3Ix1rOx5fLBy53jfR7sr0kL0a/HTtjJoOGgpnYijwFT2bhJrrvLv/A==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.97) (envelope-from ) id 1s43jS-000000089kh-2j6t; Mon, 06 May 2024 21:10:38 +0200 From: Johannes Berg To: linux-wireless@vger.kernel.org Cc: Johannes Berg , Miriam Rachel Korenblit Subject: [PATCH 3/3] wifi: mac80211: don't stop TTLM works again Date: Mon, 6 May 2024 21:10:35 +0200 Message-ID: <20240506211034.f8434be19f56.I021afadc538508da3bc8f95c89f424ca62b94bef@changeid> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240506211034.ac754794279f.Ib9fbb1dab50c6b67f6de9be09a6c452ce89bbd50@changeid> References: <20240506211034.ac754794279f.Ib9fbb1dab50c6b67f6de9be09a6c452ce89bbd50@changeid> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Johannes Berg There's no need to stop works that have already been stopped during disconnect, so don't. Reviewed-by: Miriam Rachel Korenblit Signed-off-by: Johannes Berg --- net/mac80211/mlme.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 9b0598b42d48..a481728d78c7 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -8714,9 +8714,6 @@ void ieee80211_mgd_stop(struct ieee80211_sub_if_data *sdata) &ifmgd->csa_connection_drop_work); wiphy_delayed_work_cancel(sdata->local->hw.wiphy, &ifmgd->tdls_peer_del_work); - wiphy_delayed_work_cancel(sdata->local->hw.wiphy, &ifmgd->ttlm_work); - wiphy_delayed_work_cancel(sdata->local->hw.wiphy, - &ifmgd->neg_ttlm_timeout_work); if (ifmgd->assoc_data) ieee80211_destroy_assoc_data(sdata, ASSOC_TIMEOUT); -- 2.44.0