aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2020-06-16 17:07:46 +0200
committerJo-Philipp Wich <jo@mein.io>2020-06-18 20:08:18 +0200
commita4248577a00cb2f21bc19ff06492e36b0ae714e6 (patch)
treec391099af94ba32a2d9554b4d187a6e04dfc56b6 /package
parentb933f9cf0cb254e368027cad6d5799e45b237df5 (diff)
downloadupstream-a4248577a00cb2f21bc19ff06492e36b0ae714e6.tar.gz
upstream-a4248577a00cb2f21bc19ff06492e36b0ae714e6.tar.bz2
upstream-a4248577a00cb2f21bc19ff06492e36b0ae714e6.zip
hostapd: fix compilation of wpa_supplicant
Ubus patch as it seems have been broken by some rebase in the past as the location of line that adds ubus object file was in condition for CONFIG_MACSEC. That condition was adding object files that are not touched by ubus patch. This means ubus.o does not have to be included in that case. When it has to be and when build fails is when CONFIG_AP is set. All files included in wpa_supplicant that are touched by this patch are in this condition. This means that this is for sure the original place for it. Signed-off-by: Karel Kočí <karel.koci@nic.cz>
Diffstat (limited to 'package')
-rw-r--r--package/network/services/hostapd/patches/600-ubus_support.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/network/services/hostapd/patches/600-ubus_support.patch b/package/network/services/hostapd/patches/600-ubus_support.patch
index d2d45ac971..f0a637e4b6 100644
--- a/package/network/services/hostapd/patches/600-ubus_support.patch
+++ b/package/network/services/hostapd/patches/600-ubus_support.patch
@@ -284,16 +284,16 @@
ifdef CONFIG_CODE_COVERAGE
CFLAGS += -O0 -fprofile-arcs -ftest-coverage
LIBS += -lgcov
-@@ -887,6 +893,9 @@ OBJS += ../src/pae/ieee802_1x_secy_ops.o
- ifdef CONFIG_AP
- OBJS += ../src/ap/wpa_auth_kay.o
+@@ -956,6 +962,9 @@ ifdef CONFIG_CTRL_IFACE_MIB
+ CFLAGS += -DCONFIG_CTRL_IFACE_MIB
endif
+ OBJS += ../src/ap/ctrl_iface_ap.o
+ifdef CONFIG_UBUS
+OBJS += ../src/ap/ubus.o
+endif
endif
- ifdef CONFIG_IEEE8021X_EAPOL
+ CFLAGS += -DEAP_SERVER -DEAP_SERVER_IDENTITY
--- a/wpa_supplicant/wpa_supplicant.c
+++ b/wpa_supplicant/wpa_supplicant.c
@@ -6797,6 +6797,8 @@ struct wpa_supplicant * wpa_supplicant_a