]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: mac80211: refactor adding rates to assoc request
authorJohannes Berg <johannes.berg@intel.com>
Fri, 1 Jul 2022 12:08:25 +0000 (14:08 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 15 Jul 2022 09:43:18 +0000 (11:43 +0200)
commit6f3c111f8ba176b746caaaa20d5c8454c8649920
treeea70f7407c3b2ab4ff59b62b05e3d8e4d0d87665
parent725e09a4f16b8cc2a25f4dc4210855e5105917ae
wifi: mac80211: refactor adding rates to assoc request

There's some awkward code that really only exists
because we want to optimize the allocation size,
but that's not really all that necessary.

Refactor the code that adds rates to the association
request frame to have a separate function, removing
the goto.

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