mirror of
https://github.com/gosticks/RIOT.git
synced 2025-10-16 12:05:37 +00:00
Merge pull request #7415 from miri64/nrfmin/fix/missing-return-2017.07
nrfmin: add missing return [2017.07 backport]
This commit is contained in:
commit
fa734b0f04
@ -480,6 +480,7 @@ static int nrfmin_get(netdev_t *dev, netopt_t opt, void *val, size_t max_len)
|
||||
case NETOPT_MAX_PACKET_SIZE:
|
||||
assert(max_len >= sizeof(uint16_t));
|
||||
*((uint16_t *)val) = NRFMIN_PAYLOAD_MAX;
|
||||
return sizeof(uint16_t);
|
||||
case NETOPT_ADDRESS_LONG:
|
||||
assert(max_len >= sizeof(uint64_t));
|
||||
nrfmin_get_pseudo_long_addr((uint16_t *)val);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user