Parcourir la source

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>
Jouni Malinen il y a 8 ans
Parent
commit
470f08b4f6
2 fichiers modifiés avec 8 ajouts et 0 suppressions
  1. 4 0
      wpa_supplicant/Android.mk
  2. 4 0
      wpa_supplicant/Makefile

+ 4 - 0
wpa_supplicant/Android.mk

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

+ 4 - 0
wpa_supplicant/Makefile

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