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)
commit5d6a1b069b7f72298aff2306a2d02b0188668218
tree124f4597695863d763cc835399dec27b21c18ac1
parenta1cf775deae9d0f1e5475337ab13c593ad427cee
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