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:Benjamin Berg <benjamin.berg@intel.com> Reviewed-by:
Johannes Berg <johannes.berg@intel.com> Signed-off-by:
Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://msgid.link/20231220133549.8e72ea105e17.Ic81e9431e980419360e97502ce8c75c58793f05a@changeid Signed-off-by:
Johannes Berg <johannes.berg@intel.com> Bug: 335979755 Change-Id: I5ed5b0cd251fcfd61c961e5e69d40f9cf78e7ddf (cherry picked from commit 31c5e92b) Signed-off-by:
Veerendranath Jakkam <quic_vjakkam@quicinc.com>
Loading
Please sign in to comment