Android: Remove obsolete ANDROID_P2P from p2p_sd_request
Change-Id: Iaf16eb482eacfbab1511e8fbf62634efda6b9b85
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
diff --git a/src/p2p/p2p_sd.c b/src/p2p/p2p_sd.c
index ade93a2..0e0c7f1 100644
--- a/src/p2p/p2p_sd.c
+++ b/src/p2p/p2p_sd.c
@@ -819,19 +819,6 @@
const struct wpabuf *tlvs)
{
struct p2p_sd_query *q;
-#ifdef ANDROID_P2P
- /* Currently, supplicant doesn't support more than one pending broadcast SD request.
- * So reject if application is registering another one before cancelling the existing one.
- */
- for (q = p2p->sd_queries; q; q = q->next) {
- if( (q->for_all_peers == 1) && (!dst)) {
- wpa_printf(MSG_ERROR, "P2P: Already one pending"
- " Broadcast request. Please cancel the current one"
- " before adding a new one");
- return NULL;
- }
- }
-#endif
q = os_zalloc(sizeof(*q));
if (q == NULL)