diff options
author | Janusz Dziedzic <janusz.dziedzic@tieto.com> | 2014-02-14 11:54:01 +0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-02-25 19:27:45 +0400 |
commit | fb5c96368fa306dae0f79d0078d2d4e505278204 (patch) | |
tree | a34c9179ea5ca40902a0d82f15ee1bd40f64a717 /net/wireless/reg.c | |
parent | 1226d2587065f98dae54c79e14dd329879b896f7 (diff) | |
download | linux-fb5c96368fa306dae0f79d0078d2d4e505278204.tar.xz |
cfg80211: regulatory: allow user to set world regdomain
Allow to set world regulatory domain in case of user
request (iw reg set 00).
Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/reg.c')
-rw-r--r-- | net/wireless/reg.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/wireless/reg.c b/net/wireless/reg.c index c9844d264312..651404c22de9 100644 --- a/net/wireless/reg.c +++ b/net/wireless/reg.c @@ -2362,9 +2362,6 @@ static int reg_set_rd_user(const struct ieee80211_regdomain *rd, { const struct ieee80211_regdomain *intersected_rd = NULL; - if (is_world_regdom(rd->alpha2)) - return -EINVAL; - if (!regdom_changes(rd->alpha2)) return -EALREADY; |