]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: mac80211: use for_each_chanctx_user_* in one more place
authorMiri Korenblit <miriam.rachel.korenblit@intel.com>
Fri, 20 Mar 2026 08:16:01 +0000 (10:16 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 24 Mar 2026 15:30:09 +0000 (16:30 +0100)
commit3f451a2cf56c407131c6bd34546348696f4f685e
treede79cdc1acd14c71933f91d30d26865d8005d08e
parent6c65b234575610e9795dabe410509a8b61cd4b68
wifi: mac80211: use for_each_chanctx_user_* in one more place

for_each_chanctx_user_* is an iterator that visits all types of chanctx
users, including the (to be added) NAN channels, and not only the link.

ieee80211_get_chanctx_max_required_bw wasn't changed to use this new
iterator, do it now.

Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20260320101556.4691916c7877.I9660f3945f4dccdb6d41a06ec4e74161e5ac65a4@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/chan.c