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)
commit956b96133763dcfdf1b78de0910631f610df2d7b
tree9a4079a5fb20388c2a07b9c79e6ce77a882cbb28
parent0ad49045f28474b3cbc1f27ec7a4238970734764
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