* [PATCH] cfg80211: fix n_reg_rules to match world_regdom
@ 2015-02-18 0:10 Jason Abele
2015-02-24 9:59 ` Johannes Berg
0 siblings, 1 reply; 2+ messages in thread
From: Jason Abele @ 2015-02-18 0:10 UTC (permalink / raw)
To: Johannes Berg; +Cc: linux-wireless
From: Jason Abele <jason@aether.com>
There are currently 8 rules in the world_regdom, but only the first 6
are applied due to an incorrect value for n_reg_rules. This causes
channels 149-165 and 60GHz to be disabled.
Signed-off-by: Jason Abele <jason@aether.com>
---
net/wireless/reg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/wireless/reg.c b/net/wireless/reg.c
index d39d1cb..277be15 100644
--- a/net/wireless/reg.c
+++ b/net/wireless/reg.c
@@ -228,7 +228,7 @@ static DECLARE_DELAYED_WORK(reg_timeout, reg_timeout_work);
/* We keep a static world regulatory domain in case of the absence of CRDA */
static const struct ieee80211_regdomain world_regdom = {
- .n_reg_rules = 6,
+ .n_reg_rules = 8,
.alpha2 = "00",
.reg_rules = {
/* IEEE 802.11b/g, channels 1..11 */
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] cfg80211: fix n_reg_rules to match world_regdom
2015-02-18 0:10 [PATCH] cfg80211: fix n_reg_rules to match world_regdom Jason Abele
@ 2015-02-24 9:59 ` Johannes Berg
0 siblings, 0 replies; 2+ messages in thread
From: Johannes Berg @ 2015-02-24 9:59 UTC (permalink / raw)
To: Jason Abele; +Cc: linux-wireless
On Tue, 2015-02-17 at 16:10 -0800, Jason Abele wrote:
> From: Jason Abele <jason@aether.com>
>
> There are currently 8 rules in the world_regdom, but only the first 6
> are applied due to an incorrect value for n_reg_rules. This causes
> channels 149-165 and 60GHz to be disabled.
Applied, thanks.
johannes
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-02-24 9:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-18 0:10 [PATCH] cfg80211: fix n_reg_rules to match world_regdom Jason Abele
2015-02-24 9:59 ` Johannes Berg
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.