diff options
author | Arik Nemtsov <arik@wizery.com> | 2015-05-06 16:28:31 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-05-06 15:50:02 +0200 |
commit | 06f207fc541862ba8902ceda0ddeade6ea6bce72 (patch) | |
tree | 75f2cdd19143539ddee9e5aadc8fab43722e830e /net/wireless/reg.c | |
parent | 8aca9b2913eb788da56b533e1091dadb79fa80f0 (diff) | |
download | linux-06f207fc541862ba8902ceda0ddeade6ea6bce72.tar.gz linux-06f207fc541862ba8902ceda0ddeade6ea6bce72.tar.bz2 linux-06f207fc541862ba8902ceda0ddeade6ea6bce72.zip |
cfg80211: change GO_CONCURRENT to IR_CONCURRENT for STA
The GO_CONCURRENT regulatory definition can be extended to station
interfaces requesting to IR as part of TDLS off-channel operations.
Rename the GO_CONCURRENT flag to IR_CONCURRENT and allow the added
use-case.
Change internal users of GO_CONCURRENT to use the new definition.
Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/reg.c')
-rw-r--r-- | net/wireless/reg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/wireless/reg.c b/net/wireless/reg.c index 0e347f888fe9..d359e0610198 100644 --- a/net/wireless/reg.c +++ b/net/wireless/reg.c @@ -989,8 +989,8 @@ static u32 map_regdom_flags(u32 rd_flags) channel_flags |= IEEE80211_CHAN_NO_OFDM; if (rd_flags & NL80211_RRF_NO_OUTDOOR) channel_flags |= IEEE80211_CHAN_INDOOR_ONLY; - if (rd_flags & NL80211_RRF_GO_CONCURRENT) - channel_flags |= IEEE80211_CHAN_GO_CONCURRENT; + if (rd_flags & NL80211_RRF_IR_CONCURRENT) + channel_flags |= IEEE80211_CHAN_IR_CONCURRENT; if (rd_flags & NL80211_RRF_NO_HT40MINUS) channel_flags |= IEEE80211_CHAN_NO_HT40MINUS; if (rd_flags & NL80211_RRF_NO_HT40PLUS) |