]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
nl80211: Restore libnl3-route inclusion for full VLAN support with netlink
authorJouni Malinen <quic_jouni@quicinc.com>
Fri, 19 Apr 2024 16:04:14 +0000 (19:04 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 19 Apr 2024 16:04:14 +0000 (19:04 +0300)
The changes in nl80211 to get rid of the libnl3-route dependency are not
sufficient to fully remove the depency from other parts of the code.
Revert the makefile related changes from that commit to avoid build
issues for cases where CONFIG_FULL_DYNAMIC_VLAN=y and
CONFIG_VLAN_NETLINK=y are used without CONFIG_DRIVER_MACSEC_LINUX=y
pulling in the needed library.

Fixes: a210fdb1c717 ("nl80211: Rewrite neigh code to not depend on libnl3-route")
Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
src/drivers/drivers.mak
src/drivers/drivers.mk

index 6b452c64e16530fa01e8bfd14519e5597b8d0edb..a03d4a0345119dc3a834611a1c792a0ef3047fa1 100644 (file)
@@ -156,6 +156,7 @@ ifdef CONFIG_FULL_DYNAMIC_VLAN
 NEED_LINUX_IOCTL=y
 ifdef CONFIG_VLAN_NETLINK
 NEED_LIBNL=y
+CONFIG_LIBNL3_ROUTE=y
 endif
 endif
 
index de4cb99de1724d401c1aeee50a26473b295ad02e..10eab6a92e17762727ea53e3326b6b7e9a36c26a 100644 (file)
@@ -151,6 +151,7 @@ ifdef CONFIG_FULL_DYNAMIC_VLAN
 NEED_LINUX_IOCTL=y
 ifdef CONFIG_VLAN_NETLINK
 NEED_LIBNL=y
+CONFIG_LIBNL3_ROUTE=y
 endif
 endif