cfg80211: pass a channel definition struct
authorJohannes Berg <johannes.berg@intel.com>
Thu, 8 Nov 2012 20:25:48 +0000 (21:25 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 26 Nov 2012 11:42:58 +0000 (12:42 +0100)
Instead of passing a channel pointer and channel type
to all functions and driver methods, pass a new channel
definition struct. Right now, this struct contains just
the control channel and channel type, but for VHT this
will change.

Also, add a small inline cfg80211_get_chandef_type() so
that drivers don't need to use the _type field of the
new structure all the time, which will change.

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

No differences found