[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <171593298896.3274748.6589375938243977457.kvalo@kernel.org>
Date: Fri, 17 May 2024 08:03:10 +0000 (UTC)
From: Kalle Valo <kvalo@...nel.org>
To: Francesco Dolcini <francesco@...cini.it>
Cc: Brian Norris <briannorris@...omium.org>,
Francesco Dolcini <francesco@...cini.it>,
Rafael Beims <rafael.beims@...adex.com>, linux-wireless@...r.kernel.org,
linux-kernel@...r.kernel.org, tsung-hsien.hsieh@....com,
David Lin <yu-hao.lin@....com>, stable@...r.kernel.org,
Francesco Dolcini <francesco.dolcini@...adex.com>
Subject: Re: [v1] wifi: mwifiex: Fix interface type change
Francesco Dolcini <francesco@...cini.it> wrote:
> From: Rafael Beims <rafael.beims@...adex.com>
>
> 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@...r.kernel.org
> Signed-off-by: Rafael Beims <rafael.beims@...adex.com>
> Signed-off-by: Francesco Dolcini <francesco.dolcini@...adex.com>
Patch applied to wireless-next.git, thanks.
a17b9f590f6e wifi: mwifiex: Fix interface type change
--
https://patchwork.kernel.org/project/linux-wireless/patch/20240510110458.15475-1-francesco@dolcini.it/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists