summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2021-11-29 16:32:43 +0300
committerJohannes Berg <johannes.berg@intel.com>2021-12-20 12:36:24 +0300
commit3bb1ccc4ed8fbc2d26a0cce369313e80e412b4f1 (patch)
treec694d58e94bcd02286f380f3e490838d26c69842 /include
parentcee04f3c3a00ffd2a2a6ed1028e0ab58a3a28d25 (diff)
downloadlinux-3bb1ccc4ed8fbc2d26a0cce369313e80e412b4f1.tar.xz
cfg80211: simplify cfg80211_chandef_valid()
There are a lot of duplicate checks in this function to check the delta between the control channel and CF1. With the addition of 320 MHz, this will become even more. Simplify the code so that the common checks are done only once for multiple bandwidths. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Link: https://lore.kernel.org/r/iwlwifi.20211129152938.2d0240b07f11.I759e8e990f5386ba2b56ffb2488a8d4e16e22c1b@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions