X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Fcc2420%2Freceive%2FCC2420ReceiveP.nc;h=b69cd577d72207d88faf032f777e0b9d88c3189f;hb=23631c164a541a13c35bc4cac67478f3c235c493;hp=7ea0957012c2b31bc5f5b58a2ed61f8d5d304283;hpb=5683b66613c4182b6ec6a8e869bfa711c1f8b224;p=tinyos-2.x.git diff --git a/tos/chips/cc2420/receive/CC2420ReceiveP.nc b/tos/chips/cc2420/receive/CC2420ReceiveP.nc index 7ea09570..b69cd577 100644 --- a/tos/chips/cc2420/receive/CC2420ReceiveP.nc +++ b/tos/chips/cc2420/receive/CC2420ReceiveP.nc @@ -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;