HomeFreeBSD

LinuxKPI: 802.11: fix for_each_sta_active_link()

Description

LinuxKPI: 802.11: fix for_each_sta_active_link()

Likely a c&p error from for_each_vif_active_link() to
for_each_sta_active_link().
We are checking the nitems on the vif instead of the sta in this macro.
Function wise there is no difference as the arrays are the same size
but for correctness fix this.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Details

Provenance
bzAuthored on May 21 2024, 9:58 PM
Parents
rG408957613bc0: Regen
Branches
Unknown
Tags
Unknown