HomeFreeBSD

LinuxKPI: 802.11: improve lladdr change to not use ifnet internals

Description

LinuxKPI: 802.11: improve lladdr change to not use ifnet internals

The changes from 4aff4048 were based on net80211 which is still using
if_private.h details. Adjust the code to no longer depend on internal
details of ifnet. We also switch the "check"-functionn from if_init to
if_transmit which we can query. Given we do have a per-vif eventhandler
we could do without that check but would still need to check
if_getflags() for IFF_UP.

Sponsored by: The FreeBSD Foundation
Reported by: jhibbits
Fixes: 4aff4048
MFC after: 3 days
Reviewed by: jhibbits
Differential Revision: https://reviews.freebsd.org/D47490

Details

Provenance
bzAuthored on Fri, Nov 8, 9:24 PM
Reviewer
jhibbits
Differential Revision
D47490: LinuxKPI: 802.11: improve lladdr change to not use ifnet internals
Parents
rG1bca58a1d40d: amdiommu: hide HPET report under verbose
Branches
Unknown
Tags
Unknown