diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk index 809973a21..287be70cb 100644 --- a/wpa_supplicant/Android.mk +++ b/wpa_supplicant/Android.mk @@ -305,6 +305,10 @@ ifdef CONFIG_MBO CONFIG_WNM=y endif +ifdef CONFIG_BGSCAN_SIMPLE +CONFIG_WNM=y +endif + ifdef CONFIG_WNM L_CFLAGS += -DCONFIG_WNM OBJS += wnm_sta.c diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile index eccfd68c5..ff4237032 100644 --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile @@ -338,6 +338,10 @@ ifdef CONFIG_MBO CONFIG_WNM=y endif +ifdef CONFIG_BGSCAN_SIMPLE +CONFIG_WNM=y +endif + ifdef CONFIG_WNM CFLAGS += -DCONFIG_WNM OBJS += wnm_sta.o