From: Johannes Berg Date: Thu, 8 Nov 2012 20:25:48 +0000 (+0100) Subject: cfg80211: pass a channel definition struct X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~17^2^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=683b6d3b31a51956ea540df00abb0b78894924c1;p=pandora-kernel.git cfg80211: pass a channel definition struct 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 --- Reading git-diff-tree failed