diff options
author | Johannes Berg <johannes.berg@intel.com> | 2022-07-07 16:03:51 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2022-07-15 12:43:19 +0300 |
commit | 9b6bf4d6120adfe8c631830dbe1c7c6c64e07ce5 (patch) | |
tree | ffb9a8f7532e80881f8be7f89ed5e7ee42e9a6f0 /net/mac80211/sta_info.c | |
parent | 4e9c3af398207d95957ae6c25290891574f2d7e8 (diff) | |
download | linux-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