wifi: nl80211: better validate link ID for stations
authorJohannes Berg <johannes.berg@intel.com>
Wed, 6 Jul 2022 13:31:55 +0000 (15:31 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 15 Jul 2022 09:43:19 +0000 (11:43 +0200)
commitefbfe5165e5dd353343af47199e0ee0dba139aed
treec27e649cf037483b7cc65b1cba1598afc62e2d15
parentd3e2439b0f339de319d27118f6de365753081179
wifi: nl80211: better validate link ID for stations

If we add a station on an MLD, we need a link ID to see
where it lives (by default). Validate the link ID against
the valid_links.

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