]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: mac80211_hwsim: check STA magic in change_sta_links
authorJohannes Berg <johannes.berg@intel.com>
Fri, 2 Sep 2022 14:12:35 +0000 (16:12 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Sat, 3 Sep 2022 15:02:05 +0000 (17:02 +0200)
commitadaeb5fc610edfee47f14bdb97b90eaeb08c2be2
tree9f5a9c532ad469c4288390608e75e291ce7c3e76
parent217c92a3ccf854dfa0ee60c2058b073ce53fe64b
wifi: mac80211_hwsim: check STA magic in change_sta_links

Just as an additional check that mac80211 isn't doing
anything strange, add a check of the STA magic (which
gets assigned when the station is added, and cleared
when the station is removed).

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c