Skip to content

Commit fb5c963

Browse files
dziedjanjmberg-intel
authored andcommitted
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>
1 parent 1226d25 commit fb5c963

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎net/wireless/reg.c‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2362,9 +2362,6 @@ static int reg_set_rd_user(const struct ieee80211_regdomain *rd,
23622362
{
23632363
const struct ieee80211_regdomain *intersected_rd = NULL;
23642364

2365-
if (is_world_regdom(rd->alpha2))
2366-
return -EINVAL;
2367-
23682365
if (!regdom_changes(rd->alpha2))
23692366
return -EALREADY;
23702367

0 commit comments

Comments
 (0)