LinuxKPI: Use IfAPI to get LLADDR

Reviewed by:	bz, emaste
Differential Revision: https://reviews.freebsd.org/D47525
This commit is contained in:
Justin Hibbits 2024-11-12 10:01:00 -05:00
parent 4d0c95384f
commit 57609cb2de

View File

@ -2783,7 +2783,7 @@ lkpi_vif_iflladdr(void *arg, struct ifnet *ifp)
} }
vif = arg; vif = arg;
IEEE80211_ADDR_COPY(vif->bss_conf.addr, IF_LLADDR(ifp)); IEEE80211_ADDR_COPY(vif->bss_conf.addr, if_getlladdr(ifp));
NET_EPOCH_EXIT(et); NET_EPOCH_EXIT(et);
} }