mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
kw2xrf: Don't propagate address to 802154 layer
This commit is contained in:
parent
014901aae4
commit
5fa40a02fa
@ -406,7 +406,7 @@ static int _set(netdev_t *netdev, netopt_t opt, const void *value, size_t len)
|
||||
}
|
||||
else {
|
||||
kw2xrf_set_addr_short(dev, *((uint16_t *)value));
|
||||
/* don't set res to set netdev_ieee802154_t::short_addr */
|
||||
res = sizeof(uint16_t);
|
||||
}
|
||||
break;
|
||||
|
||||
@ -416,7 +416,7 @@ static int _set(netdev_t *netdev, netopt_t opt, const void *value, size_t len)
|
||||
}
|
||||
else {
|
||||
kw2xrf_set_addr_long(dev, *((uint64_t *)value));
|
||||
/* don't set res to set netdev_ieee802154_t::short_addr */
|
||||
res = sizeof(uint64_t);
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user