wifi: mac80211: mlme: simplify adding ht/vht/he/eht elements
authorJohannes Berg <johannes.berg@intel.com>
Fri, 1 Jul 2022 14:14:33 +0000 (16:14 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 15 Jul 2022 09:43:18 +0000 (11:43 +0200)
commitdf9a9c44e91ba4305249a7e61284b15d54f70b19
tree5cf824d643254cd62f67e6de88caa0acbeebaf18
parent3c68cb81bf611f6c80ccb164556808d7e04cca89
wifi: mac80211: mlme: simplify adding ht/vht/he/eht elements

The functions currently take a link and check data
from it, but this needs to change for MLO. Simplify
the prototypes by passing only the needed arguments.

Remove the regulatory checks, the warnings shouldn't
trigger, and haven't as far as I know.

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