summaryrefslogtreecommitdiff
path: root/net/mac80211/sta_info.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2022-07-07 16:03:51 +0300
committerJohannes Berg <johannes.berg@intel.com>2022-07-15 12:43:19 +0300
commit9b6bf4d6120adfe8c631830dbe1c7c6c64e07ce5 (patch)
treeffb9a8f7532e80881f8be7f89ed5e7ee42e9a6f0 /net/mac80211/sta_info.c
parent4e9c3af398207d95957ae6c25290891574f2d7e8 (diff)
downloadlinux-9b6bf4d6120adfe8c631830dbe1c7c6c64e07ce5.tar.xz
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: d648c23024bd ("wifi: nl80211: support MLO in auth/assoc") Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/sta_info.c')
0 files changed, 0 insertions, 0 deletions