Skip to content
Commit 9b6bf4d6 authored by Johannes Berg's avatar Johannes Berg
Browse files

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>
parent 4e9c3af3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment