diff options
| author | Dmitry Shmidt <dimitrysh@google.com> | 2014-02-20 10:16:43 -0800 |
|---|---|---|
| committer | Dmitry Shmidt <dimitrysh@google.com> | 2014-02-20 10:16:43 -0800 |
| commit | 73bb22fa892a8967f458db5459684617ac52c063 (patch) | |
| tree | 1069666417d8e299911542eeeadabf9a10ea9c3a /src/p2p | |
| parent | ec58b164a608cbc1d99e71bb3d86ef4b263377dc (diff) | |
| download | android_external_wpa_supplicant_8-73bb22fa892a8967f458db5459684617ac52c063.tar.gz android_external_wpa_supplicant_8-73bb22fa892a8967f458db5459684617ac52c063.tar.bz2 android_external_wpa_supplicant_8-73bb22fa892a8967f458db5459684617ac52c063.zip | |
Android: Remove obsolete ANDROID_P2P from p2p_sd_request
Change-Id: Iaf16eb482eacfbab1511e8fbf62634efda6b9b85
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'src/p2p')
| -rw-r--r-- | src/p2p/p2p_sd.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/p2p/p2p_sd.c b/src/p2p/p2p_sd.c index ade93a28..0e0c7f12 100644 --- a/src/p2p/p2p_sd.c +++ b/src/p2p/p2p_sd.c @@ -819,19 +819,6 @@ void * p2p_sd_request(struct p2p_data *p2p, const u8 *dst, 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) |
