]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Always check rates and capabilities in mesh mode
authorAlexis Green <agreen@cococorp.com>
Tue, 9 Jun 2015 20:00:43 +0000 (13:00 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 9 Jun 2015 20:05:06 +0000 (22:05 +0200)
commit98a0038f9ef090466ec524745fdda359c7f90a8e
treec97610d4f6bf6ddbe39429d84ee7236b1353e75d
parentc116fceffbbd5634ffe1702a1567f013f1d9f34b
mac80211: Always check rates and capabilities in mesh mode

In mesh mode there is a race between establishing links and processing
rates and capabilities in beacons. This is very noticeable with slow
beacons (e.g. beacon intervals of 1s) and manifested for us as stations
using minstrel when minstrel_ht should be used. Fixed by changing
mesh_sta_info_init so that it always checks rates and such if it has not
already done so.

Signed-off-by: Alexis Green <agreen@cococorp.com>
CC: Jesse Jones <jjones@cococorp.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh_plink.c
net/mac80211/sta_info.h