OSDN Git Service

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)
commitc1690b66ba7016a5c25dc1fb77133cbf64622fcc
treeea70f7407c3b2ab4ff59b62b05e3d8e4d0d87665
parent3dc05935ead81ffafa6d937552cfae1f1463b4a8
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