diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2017-01-04 20:58:30 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2017-01-06 15:54:04 +0300 |
commit | 4787cfa08476d4193c35d958f564f643bb6ae234 (patch) | |
tree | c36343fde17cbf304e7c1a178d4ae4eb4f167107 /net/wireless/core.h | |
parent | b330b25eaabda00d74e47566d9200907da381896 (diff) | |
download | linux-4787cfa08476d4193c35d958f564f643bb6ae234.tar.xz |
cfg80211: move function checking range fit to util.c
It is needed for another cfg80211 helper that will be out of reg.c so
move it to common util.c file and make it non-static.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/core.h')
-rw-r--r-- | net/wireless/core.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/wireless/core.h b/net/wireless/core.h index af6e023020b1..bc8ba6e57519 100644 --- a/net/wireless/core.h +++ b/net/wireless/core.h @@ -430,6 +430,9 @@ int cfg80211_change_iface(struct cfg80211_registered_device *rdev, void cfg80211_process_rdev_events(struct cfg80211_registered_device *rdev); void cfg80211_process_wdev_events(struct wireless_dev *wdev); +bool cfg80211_does_bw_fit_range(const struct ieee80211_freq_range *freq_range, + u32 center_freq_khz, u32 bw_khz); + /** * cfg80211_chandef_dfs_usable - checks if chandef is DFS usable * @wiphy: the wiphy to validate against |