Message ID | 1422375051-20709-1-git-send-email-qca_vkondrat@qca.qualcomm.com (mailing list archive) |
---|---|
State | Changes Requested |
Delegated to: | Johannes Berg |
Headers | show |
On Tue, 2015-01-27 at 18:10 +0200, Vladimir Kondratiev wrote: > In the commit: > 131a19b - regulatory: enable channels 52-64 and 100-144 for world roaming please use 12 hex digits to refer to commits. > 2 entries added to the world_regdom.reg_rules, while > world_regdom.n_reg_rules was not updated to reflect array size. > Fix it. > > Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> Should it be Cc stable? And you should probably add a Fixes: tag. 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 b586d0d..48dfc7b 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 */
In the commit: 131a19b - regulatory: enable channels 52-64 and 100-144 for world roaming 2 entries added to the world_regdom.reg_rules, while world_regdom.n_reg_rules was not updated to reflect array size. Fix it. Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> --- net/wireless/reg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)