]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: set basic rates earlier
authorJohannes Berg <johannes.berg@intel.com>
Thu, 8 Mar 2012 14:02:08 +0000 (15:02 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 12 Mar 2012 18:22:16 +0000 (14:22 -0400)
commita5ec26c7e553f35241281bc16a8e3831ceda1412
tree124f4597695863d763cc835399dec27b21c18ac1
parent91980c719b1b27cbfc6b14e1a2a2ce90b6230e91
mac80211: set basic rates earlier

The authentication and association handshake
already happens in the context of the new BSS,
and the basic rates are needed at least for
the ACK response frame to the authentication
or association response frames. Therefore the
basic rates should already be configured into
the driver when those frames are sent.

Change the logic to set up the basic rates in
the connection preparation that happens for
authentication and association (if needed).

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