]> 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)
commit455ce97fa86e1f7b8b27b5215f13008783e84023
treeea70f7407c3b2ab4ff59b62b05e3d8e4d0d87665
parenteff2abfa3710a0754115c943bf228ff36f185d01
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