mac80211: refactor common auth/assoc setup code
authorJohannes Berg <johannes.berg@intel.com>
Thu, 8 Mar 2012 14:02:07 +0000 (15:02 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 12 Mar 2012 18:22:15 +0000 (14:22 -0400)
commita1cf775deae9d0f1e5475337ab13c593ad427cee
tree082c8056bf934cf9d60860fcc80bbab8fe65ce23
parent0775f9f90cdaf40fbf69b3192b3dddb2b3436f45
mac80211: refactor common auth/assoc setup code

As associating is possible without first authenticating
(for FT over DS) association also has to be able to
switch to the right channel, insert the station entry
etc. Factor out this common code into a new function
called ieee80211_prep_connection().

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