Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp820797lqo; Fri, 17 May 2024 02:34:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUEQgy6xrBqIQg4zxX0Hy+e4EyTRUZUQsUyPxJ/ahT/J6ZKk0ZXxpkq8z/lQu3T3rA80LCHPaeC6CpwZ5pDLZFBtgdaE9+IH6byYquJig== X-Google-Smtp-Source: AGHT+IGFqgstjWqxPonBnJgxSvxRRCxNihu7oQCowluEf5lE+3iVHpxLJVPePMHLqFsyOxDOCxCf X-Received: by 2002:a05:6a20:6a0e:b0:1af:b0d0:281 with SMTP id adf61e73a8af0-1afde09f71cmr28319421637.6.1715938466485; Fri, 17 May 2024 02:34:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715938466; cv=pass; d=google.com; s=arc-20160816; b=vz5NtjtgKiOcH25eCWS7Ot3XtlFyXSGvSm/hOh9aStZBo6bVIArjVfU18GGw8eVCCR DDGSRlNrVau8HjSEjBUFRqADkO/sTOzQC/42uEkPJHFMAcAyuKd8ESiGCjNldAvnX06w nXbq6K4qHbyGbFJzFTR0CtOA+vcsG4xFDYU6cuNLcT/8yZE0PkeGeZeXg9UaOkbgqhKM AE37cAm0v0KQ6bRlsVPBr2mDnE7vmQjQ3wkTbjnS7F7DMQ3JKxKp+1cAgB81nOfGE8XM PepFE2fWAsiJICyiShvpkKhyfzmoSz5GdJOjs8P369cESHs+ZmJ5LB93LLCupfHrW6LA oEpw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:dkim-signature; bh=FNlx6Hj/CI8LN2JAcyhNThTFMqxplDH/e6K+CY/awRU=; fh=VloJJnXcMaLSYxdPpEdZxHee55/YNWIfyi+bS7pWBPo=; b=vlmJ5wjawWslnKgNYSymfq6sJwIWTsnYWTbf9aZE2U+PhIrbVE6jHuMCWMaKSqoFzK r0IkCuvmql0LJ/6mm78ukOwbOvoFczUaK/UrA51ussKG2KvJEg4wluwuyRiBdLypSvxp 9AjjFjP233Eu+26utVCVBov+QAeIPJNHyJIWO95QiJUZZEF94MQnzJ08WxTmHm1rlQqB 3eKhlYXkz85a2G/7vXsl/7wh7jXb+6t/Ej+WMUlICaOUYDEf1dp8AuJKZDTe8uDenTsh +eqNCUcFWvLWVxPiegPeYe7JkT03zT+WBewRHj1eAUDA73290kRr0r/lzmyWOCtbEQRz IG2w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=S1Nv9yrN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-7775-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7775-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 98e67ed59e1d1-2b670e35072si17422178a91.18.2024.05.17.02.34.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 02:34:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-7775-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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=S1Nv9yrN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-7775-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7775-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 53466B20CE1 for ; Fri, 17 May 2024 09:34:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 327A822EF8; Fri, 17 May 2024 09:32:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="S1Nv9yrN" X-Original-To: linux-wireless@vger.kernel.org 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 03C872BD00; Fri, 17 May 2024 09:32:48 +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=1715938369; cv=none; b=ph+uXAZQ7cbLQE/JPP79gKZv6NQYzXYauEdmO4wnGyEsfEonKjYi6rcE4riTkqexHVp0hdRBOaA/1INpWSJIIErPUovuJA9XnwdzC+oqqqjB2LVvI4Sn2n/t1LTdfTL7IBb6iYMWgX29e45dn59f12Q0M+n9OoztNfjQq7KGPDc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715938369; c=relaxed/simple; bh=BIeOajTDnTE0oWk2OSRXZfKHkGcTs4mjiK2NQMCf3VY=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=aocVbJiPt8+TFZpToHaOsB/dkh9DPsoOQftrzHcj+KhgxetpbRzVK57ivdPwA37J+EW9n7Q5eRQJZrLoHC8WNFeK4CNPBiM405mNFEVgc/BtcG72aUra1hyNKzQizRT3LnC10EJSexLkzXEX/3MnLVO8PWPyqgg9o72mq+aE6yM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=S1Nv9yrN; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8C0D2C2BD10; Fri, 17 May 2024 09:32:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715938368; bh=BIeOajTDnTE0oWk2OSRXZfKHkGcTs4mjiK2NQMCf3VY=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=S1Nv9yrNxdMNqknT7GMWrpBVRpZ1CpK5jotvkS29S8Khz6S2OpYe85lV5aMywTvKC BS22zRHAHeRH463OmY/3wWqfNsHb9mEehp9uIx5KXiXApSKZBc5CnbTLeFBJbtD99y bFwQ3q0AoxGszEKw5iNq/XvWeXztQlXP2zu60MI5lFez9PHKntkhv1BFUj5XNKNGf0 QvedZHd3GcSMfVCQ3vZflychi3F3O47N6RT6qbubI0mUkgZ12aWHnNdPZ0a0lWVIFK lR1nnTenM+DOyh+sRycfbW+4cD3G/qJNBXU5kWmh9fL5BdgeNhWCB1nZsX5Bhw0b4n wN/qHNX1/1eRA== From: Kalle Valo To: Francesco Dolcini Cc: Brian Norris , Rafael Beims , linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, tsung-hsien.hsieh@nxp.com, David Lin , stable@vger.kernel.org, Francesco Dolcini Subject: Re: [v1] wifi: mwifiex: Fix interface type change References: <20240510110458.15475-1-francesco@dolcini.it> <171593306296.3274748.4179889716794962474.kvalo@kernel.org> <20240517081312.GA7974@francesco-nb> Date: Fri, 17 May 2024 12:32:44 +0300 In-Reply-To: <20240517081312.GA7974@francesco-nb> (Francesco Dolcini's message of "Fri, 17 May 2024 10:13:12 +0200") Message-ID: <87zfsog4w3.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Francesco Dolcini writes: > On Fri, May 17, 2024 at 08:04:24AM +0000, Kalle Valo wrote: > >> Francesco Dolcini wrote: >> >> > From: Rafael Beims >> > >> > When changing the interface type we also need to update the bss_num, the >> > driver private data is searched based on a unique (bss_type, bss_num) >> > tuple, therefore every time bss_type changes, bss_num must also change. >> > >> > This fixes for example an issue in which, after the mode changed, a >> > wireless scan on the changed interface would not finish, leading to >> > repeated -EBUSY messages to userspace when other scan requests were >> > sent. >> > >> > Fixes: c606008b7062 ("mwifiex: Properly initialize private >> > structure on interface type changes") >> > Cc: stable@vger.kernel.org >> > Signed-off-by: Rafael Beims >> > Signed-off-by: Francesco Dolcini >> >> BTW I removed the Reviewed-by from the commit message, I don't see the need to >> have both Reviewed-by and s-o-b. > > Sure, I was in doubt about this, in the end I added it because I have seen > this done in other subsystems, e.g. commit 6a4020b4c639 ("drm/bridge: > tc358768: fix PLL parameters computation"). Heh, yeah we all do things a bit differently :) In my view s-o-b implies that you have reviewed it as well but clearly not everyone think the same. I'm fine either way, this is cosmetics anyway. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches