mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
netdev_eth: return payload length instead of frame length
This commit is contained in:
parent
942d774a44
commit
e5b03dfddd
@ -223,7 +223,7 @@ static inline int _get_max_pkt_sz(uint16_t *value, size_t max_len)
|
||||
return -EOVERFLOW;
|
||||
}
|
||||
|
||||
*value = ETHERNET_MAX_LEN;
|
||||
*value = ETHERNET_DATA_LEN;
|
||||
|
||||
return sizeof(uint16_t);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user