]> 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)
commit7ef713bb1e34a51df569ac65e30b175e570d91b0
treecaffe70a929bed0e3501d876a584f07fe34da29e
parent80622f13ef59eb9bccc891eebeecb24415fecffe
wireless: fix enabling channel 12 for custom regulatory domain

Commit 224b3d0c7689 ("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