]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: mac80211: more station handling sanity checks
authorJohannes Berg <johannes.berg@intel.com>
Mon, 18 Jul 2022 21:01:19 +0000 (23:01 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 22 Jul 2022 12:28:11 +0000 (14:28 +0200)
commit20a84c150cab0db40e654615dd1e026152d7a2d7
tree9a4079a5fb20388c2a07b9c79e6ce77a882cbb28
parent68ef837222172cb1b3efa8ea3913ed5b03b05fad
wifi: mac80211: more station handling sanity checks

Add more sanity checks to the API handling, we shouldn't
be able to create a station without links, nor should we
be able to add a link to a station that wasn't created as
an MLD with links in the first place.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c