From ce302ebc8b31834516d44ca2fdaff922572eaa14 Mon Sep 17 00:00:00 2001 From: Jukka Rissanen Date: Mon, 8 Jun 2015 15:40:01 +0300 Subject: [PATCH] net: uip: Callback is only defined for RIME support We do not need RIME so commenting out the callback call. Change-Id: I09cd078a3741c6a8e5f4f8fd6387203e6107f218 Signed-off-by: Jukka Rissanen --- net/ip/contiki/ipv6/sicslowpan.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/ip/contiki/ipv6/sicslowpan.c b/net/ip/contiki/ipv6/sicslowpan.c index 1bfffe79208..af845f45edd 100644 --- a/net/ip/contiki/ipv6/sicslowpan.c +++ b/net/ip/contiki/ipv6/sicslowpan.c @@ -1315,9 +1315,11 @@ packet_sent(void *ptr, int status, int transmissions) { uip_ds6_link_neighbor_callback(status, transmissions); +#if NETSTACK_CONF_WITH_RIME if(callback != NULL) { callback->output_callback(status); } +#endif /* NETSTACK_CONF_WITH_RIME */ last_tx_status = status; } /*--------------------------------------------------------------------*/