]> git.baikalelectronics.ru Git - kernel.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)
commit737fdff2536b4ea21d87f3a3a49c4d1be25c2a3b
tree8def41b5dfcc999be44cf0e680a8a65e906dfb99
parent5192a4ffe3d741d42b329e85fed1e64608ef239e
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