mac80211: set channel only once during auth/assoc
authorJohannes Berg <johannes.berg@intel.com>
Fri, 27 Jul 2012 09:41:27 +0000 (11:41 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 31 Jul 2012 14:18:50 +0000 (16:18 +0200)
commitb17166a707e748ad87907f38431a1df26bb643f2
tree4c3580c9ef9900e76723cc3c3b596fd15068b66a
parent13e0c8e355983cdd4ea7accc3b3208e80944716d
mac80211: set channel only once during auth/assoc

There's no need to set up the channel during auth
and again during assoc, just do it once. Currently
this doesn't result in any changes since calling
hw_config() with an unchanged channel will return
early, but with the channel context work this has
an impact on channel context assignment.

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