wifi: mac80211: simplify ieee80211_config_bw() prototype
authorJohannes Berg <johannes.berg@intel.com>
Thu, 11 Jan 2024 16:17:40 +0000 (18:17 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 26 Jan 2024 08:39:50 +0000 (09:39 +0100)
commitd1155f2873cfd387ffb7f5423edbfb2bb22eaf32
treeda6fa344d9dea97af76d7a4c65fb18a90a7b2354
parent2b3e35d98bcaad9218ec3d4ab91e93022f76b6dd
wifi: mac80211: simplify ieee80211_config_bw() prototype

The only user of this function passes a lot of pointers
directly from the parsed elements, so it's simpler to
just pass the entire elements parsing struct. This also
shows that the ht_cap is actually unused.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Reviewed-by: Gregory Greenman <gregory.greenman@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240111181514.f0653cd5e7dd.I8bd5ee848074029a9f0495c95e4339546ad8fe15@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c