From 92ce5b1f5b97053806b37f2ad3174207e5b5893a Mon Sep 17 00:00:00 2001 From: piernov Date: Mon, 5 Mar 2012 20:33:33 +0100 Subject: wpa_supplicant ajout patch libnl 3.2 --- .../hostap_allow-linking-with-libnl-3.2.patch | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 wpa_supplicant/hostap_allow-linking-with-libnl-3.2.patch (limited to 'wpa_supplicant/hostap_allow-linking-with-libnl-3.2.patch') diff --git a/wpa_supplicant/hostap_allow-linking-with-libnl-3.2.patch b/wpa_supplicant/hostap_allow-linking-with-libnl-3.2.patch new file mode 100644 index 000000000..9111f6c42 --- /dev/null +++ b/wpa_supplicant/hostap_allow-linking-with-libnl-3.2.patch @@ -0,0 +1,41 @@ +Subject: [RFC] hostap: Allow linking with libnl-3. +Date: Tue, 15 Nov 2011 14:30:04 -0000 +From: Ben Greear + +I needed this patch to compile against the latest +libnl code. I added this to my config file: + +CONFIG_LIBNL32=y + +Signed-hostap: Ben Greear +rediffed against 0.7.3 by Stefan Lippers-Hollmann + +--- +:100644 100644 5caeec5... 0cc81f9... M src/drivers/drivers.mak + src/drivers/drivers.mak | 21 ++++++++++++++------- + 2 files changed, 29 insertions(+), 14 deletions(-) + +--- a/src/drivers/drivers.mak ++++ b/src/drivers/drivers.mak +@@ -31,11 +31,18 @@ NEED_SME=y + NEED_AP_MLME=y + NEED_NETLINK=y + NEED_LINUX_IOCTL=y +-DRV_LIBS += -lnl ++ifdef CONFIG_LIBNL32 ++ DRV_LIBS += -lnl-3 ++ DRV_LIBS += -lnl-genl-3 ++ DRV_CFLAGS += -DCONFIG_LIBNL20 ++ DRV_CFLAGS += -I/usr/include/libnl3/ ++else ++ DRV_LIBS += -lnl + +-ifdef CONFIG_LIBNL20 +-DRV_LIBS += -lnl-genl +-DRV_CFLAGS += -DCONFIG_LIBNL20 ++ ifdef CONFIG_LIBNL20 ++ DRV_LIBS += -lnl-genl ++ DRV_CFLAGS += -DCONFIG_LIBNL20 ++ endif + endif + endif -- cgit v1.2.3-54-g00ecf