Message ID | 1392364441-4640-2-git-send-email-janusz.dziedzic@tieto.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
On Fri, 2014-02-14 at 08:54 +0100, Janusz Dziedzic wrote: > Allow to set world regulatory domain in case of user > request (iw reg set 00). Applied both, I took the first one for 3.14 still. johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/net/wireless/reg.c b/net/wireless/reg.c index c4c3af1..9e2450b 100644 --- a/net/wireless/reg.c +++ b/net/wireless/reg.c @@ -2373,9 +2373,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;
Allow to set world regulatory domain in case of user request (iw reg set 00). Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com> --- net/wireless/reg.c | 3 --- 1 file changed, 3 deletions(-)