From 21657e1611a52df17c45f74b043ad8e78e3baae0 Mon Sep 17 00:00:00 2001 From: sdhsdh Date: Sat, 29 Aug 2009 04:21:37 +0000 Subject: [PATCH] fix OOPS when merging with security code --- tos/chips/cc2420/CC2420.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tos/chips/cc2420/CC2420.h b/tos/chips/cc2420/CC2420.h index d554f2d9..91138798 100644 --- a/tos/chips/cc2420/CC2420.h +++ b/tos/chips/cc2420/CC2420.h @@ -104,6 +104,9 @@ typedef nx_struct cc2420_header_t { nxle_uint16_t dest; nxle_uint16_t src; /** CC2420 802.15.4 header ends here */ +#ifdef CC2420_HW_SECURITY + security_header_t secHdr; +#endif #ifdef CC2420_IFRAME_TYPE /** I-Frame 6LowPAN interoperability byte */ @@ -114,10 +117,6 @@ typedef nx_struct cc2420_header_t { nxle_uint8_t type; #endif -#ifdef CC2420_HW_SECURITY - security_header_t secHdr; -#endif - } cc2420_header_t; /** -- 2.39.2