mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-19 20:48:22 +00:00
fix bug that prevented correct address parsing
This commit is contained in:
parent
c57fd24078
commit
90d31d2666
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ int ieee802154_addrparse(FAR struct ieee802154_packet_s *packet,
|
|||
index += 2; /* skip dest addr */
|
||||
src->ia_len = 2;
|
||||
}
|
||||
if(saddr == IEEE802154_SADDR_EXT)
|
||||
else if(saddr == IEEE802154_SADDR_EXT)
|
||||
{
|
||||
memcpy(src->ia_eaddr, packet->data+index, 8);
|
||||
index += 8; /* skip dest addr */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue