DPP2: Fix wpa_supplicant build dependencies for CONFIG_AP=y build
Fix CONFIG_DPP2=y with CONFIG_AP=y build for cases where the needed dependencies were not pulled in by other optional build parameters. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
d2bae5763d
commit
1eff2e7bf1
2 changed files with 8 additions and 0 deletions
wpa_supplicant
|
@ -907,8 +907,12 @@ endif
|
||||||
ifdef CONFIG_DPP
|
ifdef CONFIG_DPP
|
||||||
OBJS += src/ap/dpp_hostapd.c
|
OBJS += src/ap/dpp_hostapd.c
|
||||||
OBJS += src/ap/gas_query_ap.c
|
OBJS += src/ap/gas_query_ap.c
|
||||||
|
NEED_AP_GAS_SERV=y
|
||||||
endif
|
endif
|
||||||
ifdef CONFIG_INTERWORKING
|
ifdef CONFIG_INTERWORKING
|
||||||
|
NEED_AP_GAS_SERV=y
|
||||||
|
endif
|
||||||
|
ifdef NEED_AP_GAS_SERV
|
||||||
OBJS += src/ap/gas_serv.c
|
OBJS += src/ap/gas_serv.c
|
||||||
endif
|
endif
|
||||||
ifdef CONFIG_HS20
|
ifdef CONFIG_HS20
|
||||||
|
|
|
@ -953,8 +953,12 @@ endif
|
||||||
ifdef CONFIG_DPP
|
ifdef CONFIG_DPP
|
||||||
OBJS += ../src/ap/dpp_hostapd.o
|
OBJS += ../src/ap/dpp_hostapd.o
|
||||||
OBJS += ../src/ap/gas_query_ap.o
|
OBJS += ../src/ap/gas_query_ap.o
|
||||||
|
NEED_AP_GAS_SERV=y
|
||||||
endif
|
endif
|
||||||
ifdef CONFIG_INTERWORKING
|
ifdef CONFIG_INTERWORKING
|
||||||
|
NEED_AP_GAS_SERV=y
|
||||||
|
endif
|
||||||
|
ifdef NEED_AP_GAS_SERV
|
||||||
OBJS += ../src/ap/gas_serv.o
|
OBJS += ../src/ap/gas_serv.o
|
||||||
endif
|
endif
|
||||||
ifdef CONFIG_HS20
|
ifdef CONFIG_HS20
|
||||||
|
|
Loading…
Reference in a new issue