TSCH security: port to new ccm-star and llsec APIs

This commit is contained in:
Simon Duquennoy 2015-10-19 19:14:50 +02:00
parent 28e1cb38a2
commit 2ca7a1a79f
2 changed files with 3 additions and 27 deletions

View file

@ -915,7 +915,7 @@ send_packet(mac_callback_t sent, void *ptr)
packet_count_before = tsch_queue_packet_count(addr);
if((hdr_len = NETSTACK_FRAMER.create_and_secure()) < 0) {
if((hdr_len = NETSTACK_FRAMER.create()) < 0) {
PRINTF("TSCH:! can't send packet due to framer error\n");
ret = MAC_TX_ERR;
} else {