]> 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)
commit23ab0a723a9da8c3fadefb60c4b17e4a41f75bb6
tree9a4079a5fb20388c2a07b9c79e6ce77a882cbb28
parentc10a2956bd50de0167b7be8d257ea70e676d7741
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