]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
wifi: cfg80211: drop incorrect nontransmitted BSS update code
authorBenjamin Berg <benjamin.berg@intel.com>
Fri, 16 Jun 2023 06:54:04 +0000 (09:54 +0300)
committerRoxana Nicolescu <roxana.nicolescu@canonical.com>
Mon, 2 Oct 2023 15:19:36 +0000 (17:19 +0200)
commit371b77b2d51b3fc566ad60da24e6675bd2bd8a08
tree4f3646895b72c441c6933c55502371bf4f596d24
parent95e7f903b0f4353e504e8edfe680f9f5c3b6cfff
wifi: cfg80211: drop incorrect nontransmitted BSS update code

BugLink: https://bugs.launchpad.net/bugs/2034469
[ Upstream commit 39432f8a3752a87a53fd8d5e51824a43aaae5cab ]

The removed code ran for any BSS that was not included in the MBSSID
element in order to update it. However, instead of using the correct
inheritance rules, it would simply copy the elements from the
transmitting AP. The result is that we would report incorrect elements
in this case.

After some discussions, it seems that there are likely not even APs
actually using this feature. Either way, removing the code decreases
complexity and makes the cfg80211 behaviour more correct.

Fixes: 0b8fb8235be8 ("cfg80211: Parsing of Multiple BSSID information in scanning")
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230616094949.cfd6d8db1f26.Ia1044902b86cd7d366400a4bfb93691b8f05d68c@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
net/wireless/scan.c