mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
pkg/nimble: signal LINK_UP on initialisation
This commit is contained in:
parent
7e0af3cd22
commit
96595fa16e
@ -207,6 +207,10 @@ static inline int _netdev_init(netdev_t *dev)
|
|||||||
(void)res;
|
(void)res;
|
||||||
|
|
||||||
bluetil_addr_swapped_cp(tmp, _netif.l2addr);
|
bluetil_addr_swapped_cp(tmp, _netif.l2addr);
|
||||||
|
|
||||||
|
/* signal link UP */
|
||||||
|
dev->event_callback(dev, NETDEV_EVENT_LINK_UP);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user