From 515f5c7f78b459e97c5bfd80367345f84bdac29e Mon Sep 17 00:00:00 2001 From: fros4943 Date: Fri, 15 Jan 2010 10:43:02 +0000 Subject: [PATCH] removed warning when packet conversion failed --- .../cooja/mspmote/interfaces/CC2420RadioPacketConverter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/cooja/apps/mspsim/src/se/sics/cooja/mspmote/interfaces/CC2420RadioPacketConverter.java b/tools/cooja/apps/mspsim/src/se/sics/cooja/mspmote/interfaces/CC2420RadioPacketConverter.java index ef9032a65..98d6e2e8a 100644 --- a/tools/cooja/apps/mspsim/src/se/sics/cooja/mspmote/interfaces/CC2420RadioPacketConverter.java +++ b/tools/cooja/apps/mspsim/src/se/sics/cooja/mspmote/interfaces/CC2420RadioPacketConverter.java @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: CC2420RadioPacketConverter.java,v 1.11 2009/12/02 16:29:36 fros4943 Exp $ + * $Id: CC2420RadioPacketConverter.java,v 1.12 2010/01/15 10:43:02 fros4943 Exp $ */ package se.sics.cooja.mspmote.interfaces; @@ -186,7 +186,7 @@ public class CC2420RadioPacketConverter { byte originalData[] = new byte[originalLen]; System.arraycopy(data, 6, originalData, 0, originalLen); if (len < 0) { - logger.warn("No cross-level conversion available: negative packet length"); + /*logger.warn("No cross-level conversion available: negative packet length");*/ return new ConvertedRadioPacket(new byte[0], originalData); } byte convertedData[] = new byte[len];