[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/cc2420/csma CC2420CsmaP.nc, 1.5, 1.6

David Gay idgay at users.sourceforge.net
Mon Jun 23 16:40:41 PDT 2008


Update of /cvsroot/tinyos/tinyos-2.x/tos/chips/cc2420/csma
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv21037/csma

Modified Files:
	CC2420CsmaP.nc 
Log Message:
fix misuse of interface

Index: CC2420CsmaP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/cc2420/csma/CC2420CsmaP.nc,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** CC2420CsmaP.nc	17 Jun 2008 07:28:24 -0000	1.5
--- CC2420CsmaP.nc	23 Jun 2008 23:40:21 -0000	1.6
***************
*** 135,139 ****
      }
  
!     header->length = len;
      header->fcf &= 1 << IEEE154_FCF_ACK_REQ;
      header->fcf |= ( ( IEEE154_TYPE_DATA << IEEE154_FCF_FRAME_TYPE ) |
--- 135,139 ----
      }
  
!     header->length = len + CC2420_SIZE;
      header->fcf &= 1 << IEEE154_FCF_ACK_REQ;
      header->fcf |= ( ( IEEE154_TYPE_DATA << IEEE154_FCF_FRAME_TYPE ) |



More information about the Tinyos-2-commits mailing list