mac80211: refactor mesh peer rate handling
authorThomas Pedersen <thomas@cozybit.com>
Thu, 19 Apr 2012 02:23:43 +0000 (19:23 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 23 Apr 2012 19:34:07 +0000 (15:34 -0400)
commitf743ff4907fa5bc2b460f48ace831a560806a9fb
tree2bf0f42ee4935ff5ee558d5db6a6e529ec1997e3
parent54ab1ffb6cd94e5c013d61c192e78e30fdf25f8a
mac80211: refactor mesh peer rate handling

To avoid passing supp_rates and basic_rates around all the time, just
derive these when needed in mesh_matches_local() and mesh_peer_init().

Signed-off-by: Thomas Pedersen <thomas@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mesh.c
net/mac80211/mesh.h
net/mac80211/mesh_plink.c