Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp935959rdb; Fri, 1 Dec 2023 02:39:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IHkKvny2Y9iMbrUCuChLKIvHtmEey0xKngN9OumeDQ2T8w9zqZY+NNeDEjWI5aMkxbQ29NB X-Received: by 2002:a17:902:e9c5:b0:1d0:5357:f1ad with SMTP id 5-20020a170902e9c500b001d05357f1admr2051505plk.18.1701427149560; Fri, 01 Dec 2023 02:39:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701427149; cv=none; d=google.com; s=arc-20160816; b=FXoVAK72UOJscve3Kby+OOHYyObFqy/lvVa20sV2/KRNLIXJU1xteU9VLxWHsnXmap 731yiuBx5KBItZrA8FdWyw4MSP8oex/S7sMFcVWI5WLK4cX7QwpjaC2JE96VPixWeFkF 2I9lrkRUpVdH62VMB6RSVU15SdieKCSBcne/IMbN/6DWpDe+oLbVexr8FcVMYQ2yL5F7 N2WNXrvMuusX6tP2/ji6vhWqqBs50gbzTAZ9zLz0uThOUgRYkyma400m5BJzFVitxD7h WFTeDcNbbs4NEVWWtMgHEGzZwuyMaUXIQd9LV32IwWkTGl4a7auPvJd1Qt4IX1UPgDor 2bqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=ArPhvkMXMVZwfQxjkC+fG5UoBrtUHLkGdWQTHhgANrE=; fh=2GZY/U2AYZSRm52+t8rjg0AVUvtkiHh4KhGZiS9fuqU=; b=nucTzmqpBNat829VkvtOUb7bDYWhyAyfXY36wEjsV8NrcI7RA5fFTcHBnTJUGq4VYI TKX1pKTYMg8ymukZR3Ng3jxwDGPJAeHF6gQRsr/RwuKgEf2yfpiMoy/eN3dut1Hd/7aQ L26wCuNRq0x4rpUCbLAM/q0NRF19DUfjHJ5Qmw78ibJ3n9CYgoEzZOgBilZz+PBMoKzG eoftQQahwbA9P5ywQ1COVjAJh3qmungv0v1h3EhTycWr4tsMMywPrsQmTz5Pd2sFr1fl ecYuZbAuZu8ZHP0I6O3B6Pl0ur52PUoUW+Sy2ID4800FYL3v3q6B5QJZVrx2yvhqy/Ro tsKw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless+bounces-278-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-278-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id o12-20020a170902778c00b001cf6aac6b5fsi2927696pll.559.2023.12.01.02.39.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 02:39:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-278-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless+bounces-278-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-278-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 72448B21149 for ; Fri, 1 Dec 2023 10:39:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EB74420B1C; Fri, 1 Dec 2023 10:39:03 +0000 (UTC) X-Original-To: linux-wireless@vger.kernel.org Received: from mail11.truemail.it (mail11.truemail.it [IPv6:2001:4b7e:0:8::81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8121AF4; Fri, 1 Dec 2023 02:39:01 -0800 (PST) Received: from francesco-nb.int.toradex.com (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id CC4D720645; Fri, 1 Dec 2023 11:38:59 +0100 (CET) Date: Fri, 1 Dec 2023 11:38:58 +0100 From: Francesco Dolcini To: David Lin Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, briannorris@chromium.org, kvalo@kernel.org, francesco@dolcini.it, tsung-hsien.hsieh@nxp.com Subject: Re: [PATCH v7 09/12] wifi: mwifiex: fixed the way to handle link lost. Message-ID: References: <20231128083115.613235-1-yu-hao.lin@nxp.com> <20231128083115.613235-10-yu-hao.lin@nxp.com> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231128083115.613235-10-yu-hao.lin@nxp.com> On Tue, Nov 28, 2023 at 04:31:12PM +0800, David Lin wrote: > If host mlme is enabled, event EVENT_LINK_LOST must be handled with > sending deauthentication to upper layers. > > Without this patch, if AP is leaving and station won't receive > deauthentication from AP, station won't reconnect to AP again. As commented on previous patches this should be done in the commit that introduce the host mlme feature in the first place. No fixup for a non committed patch, you should just avoid introducing the bug in the first place. Francesco