diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-11-22 16:59:45 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-11-27 09:18:25 +0100 |
commit | 9f5e8f6efc7c2601136b27d9c7325c245f8fd19a (patch) | |
tree | 99e89e550d6687240364659e78ff4276bd12aae2 /net/wireless/core.h | |
parent | ec816087e8978b74c1bd5fae0e335dd97d964e9f (diff) |
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>
Diffstat (limited to 'net/wireless/core.h')
-rw-r--r-- | net/wireless/core.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/net/wireless/core.h b/net/wireless/core.h index a0c8decf6a4..6183a0d25b8 100644 --- a/net/wireless/core.h +++ b/net/wireless/core.h @@ -483,12 +483,6 @@ int cfg80211_validate_beacon_int(struct cfg80211_registered_device *rdev, void cfg80211_update_iface_num(struct cfg80211_registered_device *rdev, enum nl80211_iftype iftype, int num); -bool cfg80211_chan_def_valid(const struct cfg80211_chan_def *chandef); - -bool cfg80211_secondary_chans_ok(struct wiphy *wiphy, - u32 center_freq, u32 bandwidth, - u32 prohibited_flags); - #define CFG80211_MAX_NUM_DIFFERENT_CHANNELS 10 #ifdef CONFIG_CFG80211_DEVELOPER_WARNINGS |