Fix too short 6LoWPAN reassembly timeout

This commit is contained in:
Laurent Deru 2014-08-06 16:56:37 +02:00
parent 8b72ab49c0
commit 704e32015b

View File

@ -1705,7 +1705,7 @@ input(void)
sicslowpan_len = frag_size; sicslowpan_len = frag_size;
reass_tag = frag_tag; reass_tag = frag_tag;
timer_set(&reass_timer, SICSLOWPAN_REASS_MAXAGE * CLOCK_SECOND / 16); timer_set(&reass_timer, SICSLOWPAN_REASS_MAXAGE * CLOCK_SECOND);
PRINTFI("sicslowpan input: INIT FRAGMENTATION (len %d, tag %d)\n", PRINTFI("sicslowpan input: INIT FRAGMENTATION (len %d, tag %d)\n",
sicslowpan_len, reass_tag); sicslowpan_len, reass_tag);
linkaddr_copy(&frag_sender, packetbuf_addr(PACKETBUF_ADDR_SENDER)); linkaddr_copy(&frag_sender, packetbuf_addr(PACKETBUF_ADDR_SENDER));