1
0
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:
Захваткина Виктория Федоровна 2022-11-23 15:13:38 +00:00
parent 7e0af3cd22
commit 96595fa16e

View File

@ -207,6 +207,10 @@ static inline int _netdev_init(netdev_t *dev)
(void)res;
bluetil_addr_swapped_cp(tmp, _netif.l2addr);
/* signal link UP */
dev->event_callback(dev, NETDEV_EVENT_LINK_UP);
return 0;
}