Enable CONFIG_WNM=y automatically for CONFIG_MBO=y builds

wpa_supplicant build with MBO enabled failed in CONFIG_WNM=y was not
specified explicitly. Add the WNM dependency automatically to avoid
needing explicit addition in build configuration.

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2017-05-01 17:33:10 +03:00
parent f541148257
commit 470f08b4f6
2 changed files with 8 additions and 0 deletions

View file

@ -259,6 +259,10 @@ NEED_ECC=y
endif endif
endif endif
ifdef CONFIG_MBO
CONFIG_WNM=y
endif
ifdef CONFIG_WNM ifdef CONFIG_WNM
L_CFLAGS += -DCONFIG_WNM L_CFLAGS += -DCONFIG_WNM
OBJS += wnm_sta.c OBJS += wnm_sta.c

View file

@ -292,6 +292,10 @@ NEED_ECC=y
endif endif
endif endif
ifdef CONFIG_MBO
CONFIG_WNM=y
endif
ifdef CONFIG_WNM ifdef CONFIG_WNM
CFLAGS += -DCONFIG_WNM CFLAGS += -DCONFIG_WNM
OBJS += wnm_sta.o OBJS += wnm_sta.o