Addressing a bug in TX code where larger transmissions were being truncated.  Bugfix also ensures that the RX interrupt does not immediately after TX.
Merge branch 'release-2-7' of https://github.com/feshie/contiki into release-2-7