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.

MFC after: 3 days

Details

Provenance
bzAuthored on Feb 16 2022, 3:48 AM
Parents
rG652e22d39562: LinuxKPI: 802.11: defer workq allocation until we have a name
Branches
Unknown
Tags
Unknown