Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2774006rdb; Mon, 12 Feb 2024 16:53:51 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUeggJCK+lhXhLHVcnkv0dGTMxcIE1w+Fx6GEgq6XzjcWEPnWuEnEPVXYM4t9yEKq0KAIa3IL5Z63COfQpCdI4s9ixcEDY9hfQ2Av7qaw== X-Google-Smtp-Source: AGHT+IHHjPoxGyBnsnjDUEJ2g67g2RZB8ndSAjYo83IqlJ4a+ibjxFZlkgRjRTPvlY2f5/DZTbEX X-Received: by 2002:a05:6a00:70b:b0:6e0:5149:3040 with SMTP id 11-20020a056a00070b00b006e051493040mr1249088pfl.5.1707785631309; Mon, 12 Feb 2024 16:53:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707785631; cv=pass; d=google.com; s=arc-20160816; b=DXS3ldpm5aVtAk8kYV/BgvaT1NBfQ2sWcNrz+AERd48rxDJj8u2aq6bDYlxpqtkKkw bgQLeedyUo2kvqr07n33f8Zcl4t5wlUjxAVAkh7R/y3XhXAwYiRRUG9kwGShmBEuqsFt TeDXmGZDjch/hFSsvrRClrcmOAeRNZmN83BHASqUDTZl6SaEf6H+SF4oJ1dopeoe2E5X DKxevO2HncmFb3YAeoq33im5gyEnQspUtWpZdCjZuyl/CUCK9KLdoqjygzcOJC0EZlfg VkMwvl0edbyvbt63JrNutvbZkRTAvayqmfLBj/Tw0Szor9y5pKngvx8PoZoa5Nk9rNR5 6paw== 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=0EHR0f9FN9HOUZFcyzH6lfbtNx4NHOk56exJ7TD50Uw=; fh=9Swhkw2HRQ6jAtt2w4zP42hansPrrcZmUN6rwhD8oTQ=; b=waqK4ugozAHOf9g4DUjZ8xNl3eUdhOprHxdWvNTRgRpO7LInYjOyl0MUvY+YvvEWKm 0nnAVFFpxNW/CpYSputCvW2zUx2hXMOTIA/xkObiYJVUoJrguc5rSlE3Eiqp97CTG6MC Gsh02ForiX+XoBm1KvzXIOZwYDjsEC5qg7wbA/aybxVgDwT4Oc4NWsbOSmJHYZh5a3eO 2fD5qBs4N3UQEKWmMHQb+TlNCcQgTU/KV1TT58jS49yikuFTP6ZUEmMjnuyMwjU2x8K1 uGEmWCjAoAzhZ/NpQxNVLepSHHVsMIQRyqaTwE33J6rS7MOmuVjLsbY/WIy1MFxe5H2M nxog==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=M6N3ix+n; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-62698-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62698-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCVBl0+TNY3Z8plP/vcD+XxPs2jvsErTuN1H+dlSmiouD0zPept6vR9kb6j9P1VuDSJoo0v/EsafUwJrWeCCbflKRdLFRbDcxWvcI8PKUw== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id b17-20020a056a000cd100b006e0cfe7ad50si3546739pfv.102.2024.02.12.16.53.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 16:53:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-62698-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=@kernel.org header.s=k20201202 header.b=M6N3ix+n; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-62698-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62698-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id F3AC2285962 for ; Tue, 13 Feb 2024 00:53:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3CBB37C6D4; Tue, 13 Feb 2024 00:22:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="M6N3ix+n" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 594257C0A0; Tue, 13 Feb 2024 00:22:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707783774; cv=none; b=IUNfMCw3QOLJ7MJ43VbDmRgElh2q6jtq6uBIs8M4J+nSSF20cIwPOGECLck80JNMQRImVg6Rjq76AkxUGCqB/+Go+f2ut2EUJmRrMyjgWkxMNB6Wh6My51nZdFqMPm3wHem2fhNmf1ZAmJ55J02pBXv+JdtUwgYOX8kOzTIYswU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707783774; c=relaxed/simple; bh=OPznuU/1uRZw4VyTPJL3KM08fB/oDNRcBkKGUT9G1Sg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=LefldOOaTC6XCBI8JBHpkD90+3ImG1tN1taAXHUmJwd7S4S2QxDpgONPU8+WCRpWxTkFE25q9IegfGellUlSTYIWHx4pLAAeqauGLregNuHd5rOmCoQbHRWik0Qy1ZjwV2R4QtYS54hM036Kyx6Akf6y75hl5t4agU8aKViXC1M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=M6N3ix+n; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DB96CC43399; Tue, 13 Feb 2024 00:22:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707783774; bh=OPznuU/1uRZw4VyTPJL3KM08fB/oDNRcBkKGUT9G1Sg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=M6N3ix+niFR5CTYrMJ8OITxRQdW8Qzg0qJFKXMnzp0VrZClD/AQsbPA/Nl5wvlNf0 +p+OSm+s/cWRSPpVXhwGnxLDPfXiALrCe3Ym+zePYx8V1WBs4xVcCCboPYhvWdOWDN Aya5SJJLj9xlQvz25gIM9Weaxr3lvhdxPiQyt/D+gWu+x4PJX20PKRWp5FuPpZ9LW6 cQGeGBjbyq/1YQDkLp5ey875TrlxbN0H498WNJBkW4D9X9i7RY+y/w0UTKdvl+YqBY PqU0RUaIlHYVWy6FcvXn2jtq8puNDYzWHAP1+rYM6e8BSOtvHzjljQsQcQJcBh6Pd5 6jiJ4mXkzX3PA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Johannes Berg , Sasha Levin , johannes@sipsolutions.net, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, linux-wireless@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH AUTOSEL 6.1 14/28] wifi: mac80211: adding missing drv_mgd_complete_tx() call Date: Mon, 12 Feb 2024 19:22:12 -0500 Message-ID: <20240213002235.671934-14-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240213002235.671934-1-sashal@kernel.org> References: <20240213002235.671934-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.1.77 Content-Transfer-Encoding: 8bit From: Johannes Berg [ Upstream commit c042600c17d8c490279f0ae2baee29475fe8047d ] There's a call to drv_mgd_prepare_tx() and so there should be one to drv_mgd_complete_tx(), but on this path it's not. Add it. Link: https://msgid.link/20240131164824.2f0922a514e1.I5aac89b93bcead88c374187d70cad0599d29d2c8@changeid Signed-off-by: Johannes Berg Signed-off-by: Sasha Levin --- net/mac80211/mlme.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index c07645c999f9..bc488092e0e6 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -7295,6 +7295,7 @@ int ieee80211_mgd_deauth(struct ieee80211_sub_if_data *sdata, ieee80211_report_disconnect(sdata, frame_buf, sizeof(frame_buf), true, req->reason_code, false); + drv_mgd_complete_tx(sdata->local, sdata, &info); return 0; } -- 2.43.0