Networking: Fix netdev_dev_lladdrsize. In some configurations, it could return the wrong size for the address of a packet radio.

This commit is contained in:
Gregory Nutt
2017-08-08 16:27:23 -06:00
parent 91f9e72890
commit efbb47999f
9 changed files with 97 additions and 62 deletions
+2
View File
@@ -124,6 +124,8 @@ static void devif_packet_conversion(FAR struct net_driver_s *dev,
{
if (dev->d_len > 0)
{
/* Check if this is a device served by 6LoWPAN */
if (dev->d_lltype == NET_LL_IEEE802154 ||
dev->d_lltype == NET_LL_PKTRADIO)
{