tests/driver_at86rf2xx: Use NETOPT_MAX_DPU_SIZE
Updated the test to use NETOPT_MAX_DPU_SIZE instead of the deprecated NETOPT_MAX_PACKET_SIZE
This commit is contained in:
parent
0c03c63c0e
commit
1b5f615554
@ -61,7 +61,7 @@ int ifconfig_list(int idx)
|
||||
}
|
||||
printf(", Source address length: %u", (unsigned)u16_val);
|
||||
|
||||
res = get((netdev_t *)dev, NETOPT_MAX_PACKET_SIZE, &u16_val,
|
||||
res = get((netdev_t *)dev, NETOPT_MAX_PDU_SIZE, &u16_val,
|
||||
sizeof(u16_val));
|
||||
if (res < 0) {
|
||||
puts("(err)");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user