Skip to content

Commit

Permalink
kw2xrf: Don't propagate address to 802154 layer
Browse files Browse the repository at this point in the history
  • Loading branch information
bergzand committed Dec 1, 2018
1 parent 00f1457 commit bf622a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/kw2xrf/kw2xrf_netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,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;

Expand All @@ -409,7 +409,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;

Expand Down

0 comments on commit bf622a8

Please sign in to comment.