The branch stable/14 has been updated by zlei:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=f95ddf7441b3596913da2d99cafda518ec8c2e1b

commit f95ddf7441b3596913da2d99cafda518ec8c2e1b
Author:     Justin Hibbits <[email protected]>
AuthorDate: 2024-11-12 15:01:00 +0000
Commit:     Zhenlei Huang <[email protected]>
CommitDate: 2025-12-26 08:25:47 +0000

    LinuxKPI: Use IfAPI to get LLADDR
    
    Reviewed by:    bz, emaste
    Differential Revision: https://reviews.freebsd.org/D47525
    
    (cherry picked from commit 57609cb2de149a3c99c43e98d37cfa4784958f73)
---
 sys/compat/linuxkpi/common/src/linux_80211.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/compat/linuxkpi/common/src/linux_80211.c 
b/sys/compat/linuxkpi/common/src/linux_80211.c
index c1eb6d6200ae..5bc32b456b5d 100644
--- a/sys/compat/linuxkpi/common/src/linux_80211.c
+++ b/sys/compat/linuxkpi/common/src/linux_80211.c
@@ -3720,7 +3720,7 @@ lkpi_vif_iflladdr(void *arg, struct ifnet *ifp)
        }
 
        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);
 }
 

Reply via email to