Skip to content
Snippets Groups Projects
Unverified Commit d06aa5f2 authored by Sebastian Meiling's avatar Sebastian Meiling Committed by GitHub
Browse files

Merge pull request #10597 from miri64/tests/cleanup/rm-NETOPT_IPV6_IID

tests: remove NETOPT_IPV6_IID get() from driver_at86rf2xx test
parents b005fa7d b2a261f0
No related branches found
No related tags found
No related merge requests found
...@@ -35,7 +35,6 @@ static int send(int iface, le_uint16_t dst_pan, uint8_t *dst_addr, ...@@ -35,7 +35,6 @@ static int send(int iface, le_uint16_t dst_pan, uint8_t *dst_addr,
int ifconfig_list(int idx) int ifconfig_list(int idx)
{ {
int res; int res;
uint8_t array_val[_MAX_ADDR_LEN];
netdev_ieee802154_t *dev = (netdev_ieee802154_t *)(&devs[idx]); netdev_ieee802154_t *dev = (netdev_ieee802154_t *)(&devs[idx]);
int (*get)(netdev_t *, netopt_t, void *, size_t) = dev->netdev.driver->get; int (*get)(netdev_t *, netopt_t, void *, size_t) = dev->netdev.driver->get;
...@@ -69,13 +68,6 @@ int ifconfig_list(int idx) ...@@ -69,13 +68,6 @@ int ifconfig_list(int idx)
return 1; return 1;
} }
printf(", Max.Payload: %u", (unsigned)u16_val); printf(", Max.Payload: %u", (unsigned)u16_val);
res = get((netdev_t *)dev, NETOPT_IPV6_IID, array_val, sizeof(array_val));
if (res > 0) {
printf("\n IPv6 IID: ");
print_addr(array_val, res);
}
printf("\n Channel: %u", dev->chan); printf("\n Channel: %u", dev->chan);
res = get((netdev_t *)dev, NETOPT_CHANNEL_PAGE, &u16_val, sizeof(u16_val)); res = get((netdev_t *)dev, NETOPT_CHANNEL_PAGE, &u16_val, sizeof(u16_val));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment