cfg80211: rework chandef checking and export it
authorJohannes Berg <johannes.berg@intel.com>
Thu, 22 Nov 2012 15:59:45 +0000 (16:59 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 27 Nov 2012 08:18:25 +0000 (09:18 +0100)
commit9f5e8f6efc7c2601136b27d9c7325c245f8fd19a
tree99e89e550d6687240364659e78ff4276bd12aae2
parentec816087e8978b74c1bd5fae0e335dd97d964e9f
cfg80211: rework chandef checking and export it

Some of the chandef checking that we do in cfg80211
to check if a channel is supported or not is also
needed in mac80211, so rework that a bit and export
the functions that are needed.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
net/wireless/chan.c
net/wireless/core.h
net/wireless/nl80211.c