diff options
| author | Lachlan Hodges <lachlan.hodges@morsemicro.com> | 2026-03-12 07:58:02 +0300 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2026-03-13 09:14:26 +0300 |
| commit | a6d4291eae0409e63525d3b26f44feae6f6f4659 (patch) | |
| tree | bcf9319bf8e5c220f0e1dc4de117e1ff30ab64c0 /include/linux/module.h | |
| parent | 84674b03d8bf3a850f023a98136c27909f0a2b61 (diff) | |
| download | linux-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/module.h')
0 files changed, 0 insertions, 0 deletions
