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>
This commit is contained in:
parent
1226d25870
commit
fb5c96368f
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue