Merge pull request #10597 from miri64/tests/cleanup/rm-NETOPT_IPV6_IID
tests: remove NETOPT_IPV6_IID get() from driver_at86rf2xx test
This commit is contained in:
commit
d06aa5f23f
@ -35,7 +35,6 @@ static int send(int iface, le_uint16_t dst_pan, uint8_t *dst_addr,
|
||||
int ifconfig_list(int idx)
|
||||
{
|
||||
int res;
|
||||
uint8_t array_val[_MAX_ADDR_LEN];
|
||||
netdev_ieee802154_t *dev = (netdev_ieee802154_t *)(&devs[idx]);
|
||||
|
||||
int (*get)(netdev_t *, netopt_t, void *, size_t) = dev->netdev.driver->get;
|
||||
@ -69,13 +68,6 @@ int ifconfig_list(int idx)
|
||||
return 1;
|
||||
}
|
||||
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);
|
||||
|
||||
res = get((netdev_t *)dev, NETOPT_CHANNEL_PAGE, &u16_val, sizeof(u16_val));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user