Commit d90d6745 authored by Benjamin Berg's avatar Benjamin Berg Committed by Carlos Llamas
Browse files

UPSTREAM: wifi: cfg80211: set correct param change count in ML element



The ML element generation code to create a BSS entry from a per-STA
profile was not overwriting the BSS parameter change count. This meant
that the incorrect parameter change count would be reported within the
multi-link element.

Fix this by returning the BSS parameter change count from the function
and placing it into the ML element. The returned tbtt info was never
used, so just drop that to simplify the code.

Fixes: 5f478adf ("wifi: cfg80211: generate an ML element for per-STA profiles")
Signed-off-by: default avatarBenjamin Berg <benjamin.berg@intel.com>
Reviewed-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarMiri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240216135047.f2a507634692.I06b122c7a319a38b4e970f5e0bd3d3ef9cac4cbe@changeid


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>

Bug: 338806915
Change-Id: I74cbccdbcc2cf160989b991342a85be03f65e66b
(cherry picked from commit f8599d63)
Signed-off-by: default avatarVeerendranath Jakkam <quic_vjakkam@quicinc.com>
parent 9225bb80
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment