Re: [PATCH 02/13] wifi: nl80211: send underlying multi-hardware channel capabilities to user space

Jakub Kicinski
2024-03-28T20:03:58Z

On Thu, 28 Mar 2024 19:53:33 +0100 Johannes Berg wrote:
> I suppose we could even define a
>
> nla_for_each_type(..., type)

That's probably a good idea for the kernel! We already have a bunch of
the loops with the if (type != DESIRED) continue, as you mentioned.