Skip to content

Commit

Permalink
fixup! gnrc_sixlowpan_frag: factor-out and rename fragmentation buffer
Browse files Browse the repository at this point in the history
Guard call to `gnrc_sixlowpan_frag` function
  • Loading branch information
miri64 committed Oct 28, 2019
1 parent 9e730c6 commit ddf9354
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sys/net/gnrc/network_layer/sixlowpan/gnrc_sixlowpan.c
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,12 @@ static void *_event_loop(void *args)
#ifdef MODULE_GNRC_SIXLOWPAN_FRAG_FB
case GNRC_SIXLOWPAN_FRAG_FB_SND_MSG:
DEBUG("6lo: send fragmented event received\n");
#ifdef MODULE_GNRC_SIXLOWPAN_FRAG
gnrc_sixlowpan_frag_send(NULL, msg.content.ptr, 0);
#else /* MODULE_GNRC_SIXLOWPAN_FRAG_FB */
DEBUG("6lo: No fragmentation implementation available to sent\n");
assert(false);
#endif /* MODULE_GNRC_SIXLOWPAN_FRAG_FB */
break;
#endif
#ifdef MODULE_GNRC_SIXLOWPAN_FRAG_RB
Expand Down

0 comments on commit ddf9354

Please # to comment.