mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-08-31 11:29:33 +00:00
No need to clear the headers now that we explicitly save a queuebuf when sending fragments
This commit is contained in:
parent
3717c39431
commit
671216c558
@ -32,7 +32,7 @@
|
|||||||
*
|
*
|
||||||
* This file is part of the Contiki operating system.
|
* This file is part of the Contiki operating system.
|
||||||
*
|
*
|
||||||
* $Id: sicslowpan.c,v 1.14 2010/02/06 09:42:49 adamdunkels Exp $
|
* $Id: sicslowpan.c,v 1.15 2010/02/06 17:07:43 adamdunkels Exp $
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* \file
|
* \file
|
||||||
@ -1118,10 +1118,6 @@ send_packet(rimeaddr_t *dest)
|
|||||||
/* If we are sending multiple packets in a row, we need to let the
|
/* If we are sending multiple packets in a row, we need to let the
|
||||||
watchdog know that we are still alive. */
|
watchdog know that we are still alive. */
|
||||||
watchdog_periodic();
|
watchdog_periodic();
|
||||||
|
|
||||||
/* The MAC may add headers. We clear them here, since we may need to
|
|
||||||
resend (parts of) the packet during fragmentation. */
|
|
||||||
packetbuf_clear_hdr();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** \brief Take an IP packet and format it to be sent on an 802.15.4
|
/** \brief Take an IP packet and format it to be sent on an 802.15.4
|
||||||
|
Loading…
Reference in New Issue
Block a user