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:Johannes Berg <johannes.berg@intel.com> Bug: 253289327 Change-Id: I07544dc0867c37bacb1529b238043b50c5766f2e (cherry picked from commit 9b6bf4d6) Signed-off-by:
Kiran Kumar Lokere <quic_klokere@quicinc.com> Signed-off-by:
Veerendranath Jakkam <quic_vjakkam@quicinc.com>
Loading
Please sign in to comment