diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk index b411f3487..8a1c54526 100644 --- a/wpa_supplicant/Android.mk +++ b/wpa_supplicant/Android.mk @@ -171,6 +171,13 @@ NEED_SHA256=y NEED_AES_OMAC1=y endif +ifdef CONFIG_TDLS +L_CFLAGS += -DCONFIG_TDLS +OBJS += src/rsn_supp/tdls.o +NEED_SHA256=y +NEED_AES_OMAC1=y +endif + ifdef CONFIG_PEERKEY L_CFLAGS += -DCONFIG_PEERKEY endif