projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1226d25
)
cfg80211: regulatory: allow user to set world regdomain
author
Janusz Dziedzic
<janusz.dziedzic@tieto.com>
Fri, 14 Feb 2014 07:54:01 +0000
(08:54 +0100)
committer
Johannes Berg
<johannes.berg@intel.com>
Tue, 25 Feb 2014 15:27:45 +0000
(16:27 +0100)
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>
net/wireless/reg.c
patch
|
blob
|
blame
|
history
diff --git
a/net/wireless/reg.c
b/net/wireless/reg.c
index c9844d2643123d3e9edfcd3c62e63163d7c1cba1..651404c22de971b26bd831aa6bd85212423efc32 100644
(file)
--- 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;