]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mac80211: initialize rate control earlier for tdls station
authorMarek Puzyniak <marek.puzyniak@tieto.com>
Sun, 8 Mar 2015 16:04:22 +0000 (18:04 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 17 Mar 2015 10:00:07 +0000 (11:00 +0100)
commitc23e31cf7b55e4d2e462b61dadb4c2d9538d3781
tree8def41b5dfcc999be44cf0e680a8a65e906dfb99
parentf3b0bbb35dac575c571dadeace59bd23ce797d31
mac80211: initialize rate control earlier for tdls station

Currently when TDLS station in driver goes from authenticated
to associated state it can not use rate control parameters
because rate control is not initialized yet. Some drivers
require parameters already initialized by rate control when
entering associated state. It can be done by initializing
rate control after station transition to associated state but
before notifying driver about that.

Signed-off-by: Marek Puzyniak <marek.puzyniak@tieto.com>
Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
[fix comment to say 'associated' instead of 'authorized']
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c