mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-04-07 02:37:08 +00:00
Bugfix: must set the SICSLOWPAM_MAX_MAC_TRANSMISSIONS attribute after clearing the buffer, otherwise it will not be used for outoing packets.
This commit is contained in:
parent
0aa448f190
commit
f5307fc01e
@ -1445,6 +1445,11 @@ output(uip_lladdr_t *localdest)
|
||||
framer_hdrlen = 21;
|
||||
}
|
||||
packetbuf_clear();
|
||||
|
||||
/* We must set the max transmissions attribute again after clearing
|
||||
the buffer. */
|
||||
packetbuf_set_attr(PACKETBUF_ATTR_MAX_MAC_TRANSMISSIONS,
|
||||
SICSLOWPAN_MAX_MAC_TRANSMISSIONS);
|
||||
#else /* USE_FRAMER_HDRLEN */
|
||||
framer_hdrlen = 21;
|
||||
#endif /* USE_FRAMER_HDRLEN */
|
||||
|
Loading…
x
Reference in New Issue
Block a user