HomeFreeBSD

LinuxKPI: 802.11: fix ieee80211_add_channel_cbw() argument

Description

LinuxKPI: 802.11: fix ieee80211_add_channel_cbw() argument

Fix the last argument passed to ieee80211_add_channel_cbw() in
lkpi_ic_getradiocaps() for both 2Ghz and 5Ghz bands.
We passed in the unmodified version rather than the adjusted version
based on the per-band channel information possibly leaving
ieee80211_channel_flags enabled which should not be.

So far this should not have made a difference given we did not enable
HT or VHT.

Sponsored by: The FreeBSD Foundation
Reviewed by: cc
Differential Revision: https://reviews.freebsd.org/D42424

(cherry picked from commit 5856761fd5f675c3871a82effdbf714a1d1bcc5e)

Details

Provenance
bzAuthored on Oct 26 2023, 12:11 AM
Reviewer
cc
Differential Revision
D42424: LinuxKPI: 802.11: fix ieee80211_add_channel_cbw() argument
Parents
rG1d2f963afd83: LinuxKPI: 802.11: error on state transition failure
Branches
Unknown
Tags
Unknown