wifi: mac80211: properly skip link info driver update
authorJohannes Berg <johannes.berg@intel.com>
Mon, 27 Jun 2022 10:28:31 +0000 (12:28 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 1 Jul 2022 09:13:35 +0000 (11:13 +0200)
commit591e73ee3f737098723406bcfae43673add31881
treedee4a94694ad1fe6ab1398bbd4e901651a40d2ac
parentc77bfab9237109d93162d9fce0d69f97aed5dc40
wifi: mac80211: properly skip link info driver update

If the interface isn't (yet) added to the driver, skip the
link info update. This was previously done for the BSS info
changes, but I forgot to copy the same check here.

Fixes: 7b7090b4c6a9 ("wifi: mac80211: split bss_info_changed method")
Reported-by: syzbot+bce2ca140cc00578ed07@syzkaller.appspotmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/main.c