diff options
| author | Lachlan Hodges <lachlan.hodges@morsemicro.com> | 2026-03-12 07:58:03 +0300 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2026-03-13 09:14:26 +0300 |
| commit | 92d77e06e73ca987b030cfed322e8421db1d6f41 (patch) | |
| tree | 00606759429ab6438e333bc7b5d9d92647662c14 /include | |
| parent | a6d4291eae0409e63525d3b26f44feae6f6f4659 (diff) | |
| download | linux-92d77e06e73ca987b030cfed322e8421db1d6f41.tar.xz | |
wifi: cfg80211: restrict cfg80211_chandef_create() to only HT-based bands
cfg80211_chandef_create() should only be used by bands that are
HT-based and the chantype argument makes sense. Insert a WARN such
that it isn't used on 60GHz and S1GHz bands and to catch any
potential existing uses by those bands.
Suggested-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Lachlan Hodges <lachlan.hodges@morsemicro.com>
Link: https://patch.msgid.link/20260312045804.362974-3-lachlan.hodges@morsemicro.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
