Commit 3b13d0b6 authored by Benjamin Berg's avatar Benjamin Berg Committed by Treehugger Robot
Browse files

UPSTREAM: wifi: cfg80211: ensure cfg80211_bss_update frees IEs on error



cfg80211_bss_update is expected to consume the IEs that are passed into
it in the temporary internal BSS. This did not happen in some error
cases (which are also WARN_ON paths), so change the code to use a common
label and use that everywhere.

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/20231220133549.8e72ea105e17.Ic81e9431e980419360e97502ce8c75c58793f05a@changeid


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

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