cfg80211: remove CFG80211_MAX_NUM_DIFFERENT_CHANNELS
authorJohannes Berg <johannes.berg@intel.com>
Thu, 6 May 2021 20:12:00 +0000 (22:12 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 23 Jun 2021 08:58:56 +0000 (10:58 +0200)
commit21b7805434f6598eaf70329f78cf3da0bd4aa3e9
treeb23152c377863657d515244f6b78f339e99af908
parent5eae2705004895a9aa917f5df6c1a2da8eeb4fd5
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>
drivers/net/wireless/mac80211_hwsim.c
include/net/cfg80211.h
net/wireless/core.c