[ 
https://issues.apache.org/jira/browse/MYNEWT-713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15959926#comment-15959926
 ] 

ASF subversion and git services commented on MYNEWT-713:
--------------------------------------------------------

Commit fe4b763a95ab9b0ce1a165b3401f51db504c73ef in incubator-mynewt-core's 
branch refs/heads/develop from [~vrahane]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-mynewt-core.git;h=fe4b763 
]

MYNEWT-713 Sysinit: nimble controller crashes

- It crashes because of uninitialized callback
  function, changing initialization priority fixes this.


> 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)

Reply via email to