diff options
| author | 2021-05-06 22:12:00 +0200 | |
|---|---|---|
| committer | 2021-06-23 10:58:56 +0200 | |
| commit | 21b7805434f6598eaf70329f78cf3da0bd4aa3e9 (patch) | |
| tree | b23152c377863657d515244f6b78f339e99af908 /include/net | |
| parent | mac80211: Remove redundant assignment to ret (diff) | |
| download | linux-dev-21b7805434f6598eaf70329f78cf3da0bd4aa3e9.tar.xz linux-dev-21b7805434f6598eaf70329f78cf3da0bd4aa3e9.zip | |
cfg80211: remove CFG80211_MAX_NUM_DIFFERENT_CHANNELS
We no longer need to put any limits here, hardware will and
mac80211-hwsim can do whatever it likes. The reason we had
this was some accounting code (still mentioned in the comment)
but that code was deleted in commit c781944b71f8 ("cfg80211:
Remove unused cfg80211_can_use_iftype_chan()").
Link: https://lore.kernel.org/r/20210506221159.d1d61db1d31c.Iac4da68d54b9f1fdc18a03586bbe06aeb9515425@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net')
| -rw-r--r-- | include/net/cfg80211.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 58c2cd417e89..60325b62daae 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -1245,8 +1245,6 @@ struct cfg80211_csa_settings { u8 count; }; -#define CFG80211_MAX_NUM_DIFFERENT_CHANNELS 10 - /** * struct iface_combination_params - input parameters for interface combinations * |
