]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf0f22d993669e1342d2ce796a60fff9b0ab705b2
tree4fa9810bc4956f5787255170b0994c936bee097c
parent27262fa889e8f5a0fc9c6f9ea095b128ff63813a
mac80211: clean up CSA handling code

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>
net/mac80211/mlme.c