PktRadio: Fixes problems with 6LoWPAN + PktRadio.

This commit is contained in:
Gregory Nutt
2017-07-31 10:06:28 -06:00
parent f03aad084a
commit e4f3e32d7b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -285,7 +285,7 @@
#define SIXLOWPAN_IS_IID_8BIT_COMPRESSABLE(a) \
((((a)[4]) == 0x0000) && (((a)[5]) == HTONS(0x00ff)) && \
(((a)[6]) == HTONS(0xfe00)) && ((((a)[7]) & HTONS(0x00ff)) == 0))
(((a)[6]) == HTONS(0xfe00)) && ((((a)[7]) & HTONS(0xff00)) == 0))
/* Check whether we can compress the IID in address 'a' to 16 bits. This is
* used for unicast addresses only, and is true if the address is on the
+1 -1
View File
@@ -317,7 +317,7 @@ static int sixlowpan_pktradio_metadata(FAR struct sixlowpan_driver_s *radio,
/* Reset the meta data */
memset(&pktmeta, 0, sizeof(struct pktradio_metadata_s));
memset(pktmeta, 0, sizeof(struct pktradio_metadata_s));
/* Set the source address */