mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-21 19:29:18 +00:00
Set the (correct) packet attribute to let the MAC layer perform retransmissions
This commit is contained in:
parent
4b60301727
commit
90bb63a383
@ -32,7 +32,7 @@
|
||||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: sicslowpan.c,v 1.23 2010/03/09 16:19:44 c_oflynn Exp $
|
||||
* $Id: sicslowpan.c,v 1.24 2010/03/09 20:40:50 adamdunkels Exp $
|
||||
*/
|
||||
/**
|
||||
* \file
|
||||
@ -1301,7 +1301,7 @@ output(uip_lladdr_t *localdest)
|
||||
packetbuf_clear();
|
||||
rime_ptr = packetbuf_dataptr();
|
||||
|
||||
packetbuf_set_attr(PACKETBUF_ATTR_MAX_REXMIT, 2);
|
||||
packetbuf_set_attr(PACKETBUF_ATTR_MAX_MAC_REXMIT, 2);
|
||||
|
||||
if(UIP_IP_BUF->proto == UIP_PROTO_TCP) {
|
||||
/* packetbuf_set_attr(PACKETBUF_ATTR_PACKET_TYPE,
|
||||
|
Loading…
Reference in New Issue
Block a user