You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "Vipul Rahane (JIRA)" <ji...@apache.org> on 2017/04/06 22:50:41 UTC
[jira] [Created] (MYNEWT-713) Sysinit: nimble controller crashes
because of uninitialized callback function
Vipul Rahane created MYNEWT-713:
-----------------------------------
Summary: Sysinit: nimble controller crashes because of uninitialized callback function
Key: MYNEWT-713
URL: https://issues.apache.org/jira/browse/MYNEWT-713
Project: Mynewt
Issue Type: Bug
Reporter: Vipul Rahane
Assignee: Vipul Rahane
Since the init priority for the host and controller was the same, sometimes ble_hs_init() was getting called before ble_ll_init(). This crashes the nimble controller because of uninitialized callback.
Solution: Change the priority to be 250 so that it always gets called after the host is initialized.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)