forward arguments even if REXMIT is not set

This commit is contained in:
nvt-se 2010-03-04 14:17:43 +00:00
parent 2aa9d22f34
commit 96eb20d235

View File

@ -28,7 +28,7 @@
* *
* This file is part of the Contiki operating system. * This file is part of the Contiki operating system.
* *
* $Id: csma.c,v 1.10 2010/02/28 10:07:17 adamdunkels Exp $ * $Id: csma.c,v 1.11 2010/03/04 14:17:43 nvt-se Exp $
*/ */
/** /**
@ -230,7 +230,7 @@ send_packet(mac_callback_t sent, void *ptr)
static void static void
send_packet(mac_callback_t sent, void *ptr) send_packet(mac_callback_t sent, void *ptr)
{ {
NETSTACK_RDC.send(NULL, NULL); NETSTACK_RDC.send(sent, ptr);
} }
#endif /* CSMA_CONF_REXMIT */ #endif /* CSMA_CONF_REXMIT */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/