Merge pull request #766 from cetic/pr-6lowpan-frag-timeout

Fix too short 6LoWPAN reassembly timeout
This commit is contained in:
Nicolas Tsiftes 2014-11-07 22:16:00 +01:00
commit b37489b0de

View file

@ -1716,7 +1716,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));