P2P: Unblock the code under wpas_p2p_set_group_idle_timeout.
Unblock the code under wpas_p2p_set_group_idle_timeout which was
blocked under ANDROID_P2P.The unblocked code is basically avoid
to set group idle timeout if the group is started.
Change-Id: I0bb134b014f932802da474ccdc20ceb1a086e87b
diff --git a/wpa_supplicant/p2p_supplicant.c b/wpa_supplicant/p2p_supplicant.c
index e6b0128..ca110dc 100644
--- a/wpa_supplicant/p2p_supplicant.c
+++ b/wpa_supplicant/p2p_supplicant.c
@@ -4800,7 +4800,7 @@
"during provisioning");
return;
}
-#ifndef ANDROID_P2P
+
if (wpa_s->show_group_started) {
/*
* Use the normal group formation timeout between the end of
@@ -4813,7 +4813,6 @@
"complete");
return;
}
-#endif
wpa_printf(MSG_DEBUG, "P2P: Set P2P group idle timeout to %u seconds",
timeout);