diff options
author | Johannes Berg <johannes.berg@intel.com> | 2022-07-18 09:14:30 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2022-07-22 14:27:47 +0200 |
commit | 206c8c0680b15d2630900ca27eb971c5d25557e8 (patch) | |
tree | 18b873381272941f08983c1a6b500be7ab3ad2bd /net/mac80211/rx.c | |
parent | 553a282cb25eb62fdda1f3425d48b12372366e03 (diff) | |
download | linux-stable-206c8c0680b15d2630900ca27eb971c5d25557e8.tar.gz linux-stable-206c8c0680b15d2630900ca27eb971c5d25557e8.tar.bz2 linux-stable-206c8c0680b15d2630900ca27eb971c5d25557e8.zip |
wifi: mac80211: fix NULL pointer deref with non-MLD STA
If we have a non-MLD STA on an AP MLD, we crash while
adding the station. Fix that, in this case we need to
use the STA's address also on the link data structure.
Fixes: f36fe0a2df03 ("wifi: mac80211: fix up link station creation/insertion")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/rx.c')
0 files changed, 0 insertions, 0 deletions