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:
parent
f541148257
commit
470f08b4f6
2 changed files with 8 additions and 0 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue