mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-02-27 07:29:21 +00:00
It is possible that packetbuf is modified by the call to mac_call_sent_callback. If this occurs ContikiMAC will not be able to recognize that a packet is pending. This fixes this problem by storing pending status in a local variable before calling mac_call_sent_callback.