drivers/ieee802154: Add missing parameter to net_if_set_link_addr()
Add the link type to net_if_set_link_addr() call. This fixes the
driver after changes introduced in
4eb2020055
.
Change-Id: I72475a055ac805524b4b0f0c2380513e8f041368
Signed-off-by: Wojciech Bober <wojciech.bober@nordicsemi.no>
This commit is contained in:
parent
2b5a343a0f
commit
0f878f6c33
1 changed files with 4 additions and 1 deletions
|
@ -342,7 +342,10 @@ static void nrf5_iface_init(struct net_if *iface)
|
|||
SYS_LOG_DBG("");
|
||||
|
||||
nrf5_get_eui64(nrf5_radio->mac);
|
||||
net_if_set_link_addr(iface, nrf5_radio->mac, sizeof(nrf5_radio->mac));
|
||||
net_if_set_link_addr(iface,
|
||||
nrf5_radio->mac,
|
||||
sizeof(nrf5_radio->mac),
|
||||
NET_LINK_IEEE802154);
|
||||
|
||||
nrf5_radio->iface = iface;
|
||||
ieee802154_init(iface);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue