]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/cc2420/receive/CC2420ReceiveP.nc
cleanup some offsets in the cc2420 stack
[tinyos-2.x.git] / tos / chips / cc2420 / receive / CC2420ReceiveP.nc
index 7ea0957012c2b31bc5f5b58a2ed61f8d5d304283..b69cd577d72207d88faf032f777e0b9d88c3189f 100644 (file)
@@ -693,7 +693,7 @@ implementation {
       securityOn = 0;
       authentication = 0;
 #endif
-      m_p_rx_buf = signal Receive.receive( m_p_rx_buf, CC2420_PAYLOAD(m_p_rx_buf),
+      m_p_rx_buf = signal Receive.receive( m_p_rx_buf, m_p_rx_buf->data,
                                           length - CC2420_SIZE);
     }
     atomic receivingPacket = FALSE;