From db2d6e8731e52b73bf3c005ce8a60fc31c82b153 Mon Sep 17 00:00:00 2001 From: Olaf Bergmann Date: Thu, 8 Mar 2012 01:37:03 +0100 Subject: [PATCH] do not acknowledge request as this is done automatically by coap_dispatch() --- async.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/async.c b/async.c index bbbd7f15..c224dfa6 100644 --- a/async.c +++ b/async.c @@ -73,13 +73,6 @@ coap_register_async(coap_context_t *context, coap_address_t *peer, LL_PREPEND(context->async_state, s); - /* send empty ACK response if request was confirmable */ - if (flags & COAP_ASYNC_SEPARATE && flags & COAP_ASYNC_CONFIRM) { - coap_send_ack(context, peer, request); - } else { - s->message_id = request->hdr->id; - } - return s; }