Commit 85f1514d authored by Johannes Berg's avatar Johannes Berg Committed by Todd Kjos
Browse files

UPSTREAM: wifi: nl80211: set BSS to NULL if IS_ERR()



If the BSS lookup returned an error, set it to NULL so we
don't try to free it.

Fixes: d648c230 ("wifi: nl80211: support MLO in auth/assoc")
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>

Bug: 253289327
Change-Id: I07544dc0867c37bacb1529b238043b50c5766f2e
(cherry picked from commit 9b6bf4d6)
Signed-off-by: default avatarKiran Kumar Lokere <quic_klokere@quicinc.com>
Signed-off-by: default avatarVeerendranath Jakkam <quic_vjakkam@quicinc.com>
parent d9847463
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment