]> git.baikalelectronics.ru Git - kernel.git/commit
wireless: fix enabling channel 12 for custom regulatory domain
authorGanapathi Bhat <ganapathi.bhat@nxp.com>
Fri, 20 Dec 2019 10:14:32 +0000 (10:14 +0000)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 15 Jan 2020 08:47:52 +0000 (09:47 +0100)
commitb72b1542ca972ecf408b91e659c88cad08d0b5f7
treecaffe70a929bed0e3501d876a584f07fe34da29e
parente1491903fe2e1559918c1ebd20a5b3d4f0fdcf85
wireless: fix enabling channel 12 for custom regulatory domain

Commit 6473d5af7f36 ("Revert "cfg80211: Use 5MHz bandwidth by
default when checking usable channels"") fixed a broken
regulatory (leaving channel 12 open for AP where not permitted).
Apply a similar fix to custom regulatory domain processing.

Signed-off-by: Cathy Luo <xiaohua.luo@nxp.com>
Signed-off-by: Ganapathi Bhat <ganapathi.bhat@nxp.com>
Link: https://lore.kernel.org/r/1576836859-8945-1-git-send-email-ganapathi.bhat@nxp.com
[reword commit message, fix coding style, add a comment]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/reg.c