HomeFreeBSD

LinuxKPI: 802.11 assign an(y) early chandef

Description

LinuxKPI: 802.11 assign an(y) early chandef

The Realtek driver assumes an early chandef to be set. At the time
of linuxkpi_ieee80211_ifattach() we do not really know one yet so
try to find the first one which is available and set that.
This prevents a NULL-deref panic.

(cherry picked from commit c5b96b3eaede01a5117975af6de3483dc43673a4)

Details

Provenance
bzAuthored on Feb 16 2022, 3:48 AM
Parents
rGada6a7cd6876: LinuxKPI: 802.11 scan update
Branches
Unknown
Tags
Unknown