Automatically include WPS and AP support if P2P is enabled
authorJouni Malinen <j@w1.fi>
Fri, 28 Oct 2011 18:17:08 +0000 (21:17 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 28 Oct 2011 18:17:08 +0000 (21:17 +0300)
CONFIG_WPS=y and CONFIG_AP=y are required if CONFIG_P2P=y so
we may as well enable them automatically in that case.

wpa_supplicant/Android.mk
wpa_supplicant/Makefile

index b8db59d..9392b6d 100644 (file)
@@ -228,6 +228,8 @@ L_CFLAGS += -DCONFIG_P2P
 NEED_GAS=y
 NEED_OFFCHANNEL=y
 NEED_80211_COMMON=y
+CONFIG_WPS=y
+CONFIG_AP=y
 ifdef CONFIG_P2P_STRICT
 L_CFLAGS += -DCONFIG_P2P_STRICT
 endif
index d13e6e8..93dea3c 100644 (file)
@@ -209,6 +209,8 @@ CFLAGS += -DCONFIG_P2P
 NEED_GAS=y
 NEED_OFFCHANNEL=y
 NEED_80211_COMMON=y
+CONFIG_WPS=y
+CONFIG_AP=y
 ifdef CONFIG_P2P_STRICT
 CFLAGS += -DCONFIG_P2P_STRICT
 endif