]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: mac80211: don't select link ID if not provided in scan request
authorAyala Beker <ayala.beker@intel.com>
Wed, 20 Mar 2024 07:14:02 +0000 (09:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2024 07:49:05 +0000 (09:49 +0200)
commit46f208b9e7deda8be6eb915e0d1c65fbf3ae8c70
treebba1237fd8b75fdd52e40f91eae8c5e2a335e203
parent542fc12c7158f1f3476c7293a1a3ad584dbb3224
wifi: mac80211: don't select link ID if not provided in scan request

[ Upstream commit 80b0aacd1ad046b46d471cf8ed6203bbd777f988 ]

If scan request doesn't include a link ID to be used for TSF
reporting, don't select it as it might become inactive before
scan is actually started by the driver.
Instead, let the driver select one of the active links.

Fixes: cbde0b49f276 ("wifi: mac80211: Extend support for scanning while MLO connected")
Signed-off-by: Ayala Beker <ayala.beker@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240320091155.a6b643a15755.Ic28ed9a611432387b7f85e9ca9a97a4ce34a6e0f@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/mac80211/scan.c