git: 57609cb2de14 - main - LinuxKPI: Use IfAPI to get LLADDR
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 13 Nov 2024 19:29:37 UTC
The branch main has been updated by jhibbits:
URL: https://cgit.FreeBSD.org/src/commit/?id=57609cb2de149a3c99c43e98d37cfa4784958f73
commit 57609cb2de149a3c99c43e98d37cfa4784958f73
Author: Justin Hibbits <jhibbits@FreeBSD.org>
AuthorDate: 2024-11-12 15:01:00 +0000
Commit: Justin Hibbits <jhibbits@FreeBSD.org>
CommitDate: 2024-11-13 19:31:20 +0000
LinuxKPI: Use IfAPI to get LLADDR
Reviewed by: bz, emaste
Differential Revision: https://reviews.freebsd.org/D47525
---
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 9d0166829d52..543a11b1f729 100644
--- a/sys/compat/linuxkpi/common/src/linux_80211.c
+++ b/sys/compat/linuxkpi/common/src/linux_80211.c
@@ -2783,7 +2783,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);
}