summaryrefslogtreecommitdiff
path: root/include/linux/kernel.h
diff options
context:
space:
mode:
authorLachlan Hodges <lachlan.hodges@morsemicro.com>2026-03-12 07:58:02 +0300
committerJohannes Berg <johannes.berg@intel.com>2026-03-13 09:14:26 +0300
commita6d4291eae0409e63525d3b26f44feae6f6f4659 (patch)
treebcf9319bf8e5c220f0e1dc4de117e1ff30ab64c0 /include/linux/kernel.h
parent84674b03d8bf3a850f023a98136c27909f0a2b61 (diff)
downloadlinux-a6d4291eae0409e63525d3b26f44feae6f6f4659.tar.xz
wifi: mac80211: don't use cfg80211_chandef_create() for default chandef
cfg80211_chandef_create() is called universally to create the default chandef during hw registration, however it only really makes sense to be used for 2GHz, 5GHz, and 6GHz (and by extension the 'LC' band) as it relies on the channel type which is only relevant to those specific bands. To reduce some confusion, create a generic helper for creating the default chandef that makes sense for all supported bands. Suggested-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Lachlan Hodges <lachlan.hodges@morsemicro.com> Link: https://patch.msgid.link/20260312045804.362974-2-lachlan.hodges@morsemicro.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions