From 2a3d0dc0428cd8acaf074cc579a40a906618eaaa Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Tue, 23 Mar 2010 15:19:55 +0000 Subject: [PATCH] Bugfix: data that has been prepared with the prepare() method must be possible to send multiple times --- platform/cooja/dev/cooja-radio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/platform/cooja/dev/cooja-radio.c b/platform/cooja/dev/cooja-radio.c index 4d4cdc725..67dc6c108 100644 --- a/platform/cooja/dev/cooja-radio.c +++ b/platform/cooja/dev/cooja-radio.c @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: cooja-radio.c,v 1.13 2010/03/23 15:10:27 adamdunkels Exp $ + * $Id: cooja-radio.c,v 1.14 2010/03/23 15:19:55 adamdunkels Exp $ */ #include @@ -192,7 +192,6 @@ transmit_packet(unsigned short len) int ret = RADIO_TX_ERR; if(pending_data != NULL) { ret = radio_send(pending_data, len); - pending_data = NULL; } return ret; }