]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: init HT TX data before rate control
authorJohannes Berg <johannes.berg@intel.com>
Thu, 7 Feb 2013 16:36:12 +0000 (17:36 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 15 Feb 2013 08:41:32 +0000 (09:41 +0100)
commit2a6b071c180781c07465ba18e1952ecef52e0ef6
treed5242d14a78bc701ea65976a2cf04f046652e485
parent3cc7b0ea1c3a5876c17ef86daf449e7d22dae1e3
mac80211: init HT TX data before rate control

In case of connection, the station data is initialised from
the beacon/probe response first and then updated from the
association response. If the latter is different we update
the rate control algorithm and driver. Instead of doing it
this way, set the station data properly with data from the
association response before initializing rate control.

Also simplify the code by passing the station pointer.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c