1
0
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:
Koen Zandberg 2018-12-01 17:52:53 +01:00
parent 014901aae4
commit 5fa40a02fa
No known key found for this signature in database
GPG Key ID: 0895A893E6D2985B

View File

@ -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;