]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: regulatory: handle 5 and 10 MHz channels properly
authorMatthias May <matthias.may@neratec.com>
Fri, 17 Jul 2015 13:28:39 +0000 (15:28 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 14 Aug 2015 15:48:46 +0000 (17:48 +0200)
commit4b03b409cc5e1b09490e0826727ae34144fb167f
tree03b4f00dd4f73555d4cb2347f078e67a90dfa13d
parentffdd9632f47381edc1a93de819230df5d2f98024
cfg80211: regulatory: handle 5 and 10 MHz channels properly

The original assumption of 20MHz wide channels hasn't been true since
the addition of support for 5 and 10 MHz channels.
Change the code to no longer disable all channels that don't fit into
the 20MHz grid, but instead set the appropriate flags to disable
operation on specific bandwidths.

Signed-off-by: Matthias May <matthias.may@neratec.com>
[reword commit message]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/reg.c