Commit 57eebdf3 authored by Johannes Berg's avatar Johannes Berg
Browse files

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: default avatarJohannes Berg <johannes.berg@intel.com>
parent 90bcf867
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment