contiki-os/contiki — pull request #609 by adamdunkels (2014-03-28 14:08:56+00:00)
Title: CSMA bugfix: count transmissions correctly

This pull request fixes a bug in the CSMA layer that causes the number of transmissions to be misrepresented to the higher layers. The RDC layer counts the number of transmissions it does for each packet, and provides this as an argument to the MAC layer callback, but the CSMA code did not previously take this number into account, which caused erroneous ETX data in RPL. This pull request fixes the problem.