do not acknowledge request as this is done automatically by coap_dispatch()

This commit is contained in:
Olaf Bergmann committed 2012-03-08 01:37:03 +01:00
1 parent 63bfbfaf89
commit db2d6e8731
1 file changed
-7
-7
View File
@@ -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;
}