]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: fix n_reg_rules to match world_regdom
authorJason Abele <jason@aether.com>
Wed, 18 Feb 2015 00:10:41 +0000 (16:10 -0800)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 24 Feb 2015 09:58:37 +0000 (10:58 +0100)
commit46604bf9b3fd7732d7298d6df1fba7526d96062d
treedac4bd8a58d1a66bb3e47a3452fe8fdb16a61233
parentc9539f4c87fc6ad038da0091ff64c8ef640bb751
cfg80211: fix n_reg_rules to match world_regdom

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>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/reg.c