mac80211: clean up CSA handling code
authorJohannes Berg <johannes.berg@intel.com>
Wed, 1 Aug 2012 13:50:46 +0000 (15:50 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 20 Aug 2012 11:57:48 +0000 (13:57 +0200)
Clean up the CSA handling code by moving some
of it out of the if and using a C99 initializer
for the struct passed to the driver method.

While at it, also add a comment that we should
wait for a beacon after switching the channel.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>

No differences found