1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 22:43:50 +01:00

Merge pull request #11136 from jia200x/pr/gnrc_netif_lora

gnrc_netif: add NETDEV_TYPE_LORA to L2ADDR check
This commit is contained in:
Alexandre Abadie 2019-03-24 11:43:01 +01:00 committed by GitHub
commit 19781098cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1238,6 +1238,7 @@ static void _test_options(gnrc_netif_t *netif)
assert(netif->ipv6.mtu < UINT16_MAX);
#endif /* MODULE_GNRC_IPV6 */
break;
case NETDEV_TYPE_LORA: /* LoRa doesn't provide L2 ADDR */
case NETDEV_TYPE_SLIP:
assert(!(netif->flags & GNRC_NETIF_FLAGS_HAS_L2ADDR));
assert(0U == netif->l2addr_len);