1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #18979 from lincynu/nimble-link-up

pkg/nimble: signal LINK_UP on initialisation
This commit is contained in:
benpicco 2022-11-26 09:36:03 +01:00 committed by GitHub
commit 51b2073f10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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