diff options
author | Cem Keylan <cem@ckyln.com> | 2021-09-26 02:48:02 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2021-09-26 02:48:02 +0300 |
commit | 23d982699285717efe87ca05144c5d3fd9f912c9 (patch) | |
tree | cd01419605174fde45b98c4374a0e2b8aa2edc3d /extra/wpa_supplicant/files | |
parent | b92efd46fe7388731376397826b2cbea028b977e (diff) | |
download | repository-23d982699285717efe87ca05144c5d3fd9f912c9.tar.gz |
wpa_supplicant: use libnl-tiny instead
Diffstat (limited to 'extra/wpa_supplicant/files')
-rw-r--r-- | extra/wpa_supplicant/files/.config | 7 | ||||
-rwxr-xr-x | extra/wpa_supplicant/files/wpa_supplicant.run | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/extra/wpa_supplicant/files/.config b/extra/wpa_supplicant/files/.config index 5851a44f..fd8c998f 100644 --- a/extra/wpa_supplicant/files/.config +++ b/extra/wpa_supplicant/files/.config @@ -37,14 +37,15 @@ CONFIG_DRIVER_NL80211=y # driver_nl80211.c requires libnl. If you are compiling it yourself # you may need to point hostapd to your version of libnl. # -#CFLAGS += -I$<path to libnl include files> -#LIBS += -L$<path to libnl library files> +CFLAGS += -I/usr/include/libnl-tiny -DLIBNL1_COMPAT -D_GNU_SOURCE +LIBS += /usr/lib/libnl-tiny.a +CONFIG_LIBNL_TINY=y # Use libnl v2.0 (or 3.0) libraries. #CONFIG_LIBNL20=y # Use libnl 3.2 libraries (if this is selected, CONFIG_LIBNL20 is ignored) -CONFIG_LIBNL32=y +#CONFIG_LIBNL32=y # Driver interface for FreeBSD net80211 layer (e.g., Atheros driver) diff --git a/extra/wpa_supplicant/files/wpa_supplicant.run b/extra/wpa_supplicant/files/wpa_supplicant.run new file mode 100755 index 00000000..55e1be7f --- /dev/null +++ b/extra/wpa_supplicant/files/wpa_supplicant.run @@ -0,0 +1,2 @@ +#!/bin/sh -e +exec wpa_supplicant -C /etc/wpa_supplicant.conf |