Skip to content
Snippets Groups Projects
Unverified Commit d506741d authored by Marian Buschsieweke's avatar Marian Buschsieweke
Browse files

drivers/netdev_eth: Use NETOPT_MAX_DPU_SIZE

Updated netdev_eth to use NETOPT_MAX_DPU_SIZE instead of the deprecated
NETOPT_MAX_PACKET_SIZE
parent 556a1e31
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,7 @@ int netdev_eth_get(netdev_t *dev, netopt_t opt, void *value, size_t max_len)
res = sizeof(uint16_t);
break;
}
case NETOPT_MAX_PACKET_SIZE:
case NETOPT_MAX_PDU_SIZE:
{
assert(max_len >= 2);
uint16_t *val = (uint16_t*) value;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment