From 570f6e705f046d6b74b8d2fb7397d907d21aeb3f Mon Sep 17 00:00:00 2001 From: dak664 Date: Wed, 15 Dec 2010 19:32:49 +0000 Subject: [PATCH] Move conditional needed by previous commit. --- cpu/avr/radio/rf230bb/rf230bb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpu/avr/radio/rf230bb/rf230bb.c b/cpu/avr/radio/rf230bb/rf230bb.c index 905a36d44..61f966206 100644 --- a/cpu/avr/radio/rf230bb/rf230bb.c +++ b/cpu/avr/radio/rf230bb/rf230bb.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * @(#)$Id: rf230bb.c,v 1.20 2010/12/15 16:50:44 dak664 Exp $ + * @(#)$Id: rf230bb.c,v 1.21 2010/12/15 19:32:49 dak664 Exp $ */ /* * This code is almost device independent and should be easy to port. @@ -412,8 +412,8 @@ radio_set_trx_state(uint8_t new_state) void rf230_set_promiscuous_mode(bool isPromiscuous) { - is_promiscuous = isPromiscuous; #if RF230_CONF_AUTOACK + is_promiscuous = isPromiscuous; /* TODO: Figure out when to pass promisc state to 802.15.4 */ // radio_set_trx_state(is_promiscuous?RX_ON:RX_AACK_ON); #endif