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

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

Commit afa6d53254cbf444a3f44cc1851f0b038227edb6 in incubator-mynewt-core's 
branch refs/heads/master from [~ccollins476]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-mynewt-core.git;h=afa6d53 
]

Merge remote-tracking branch 'apache/develop'

* apache/develop: (136 commits)
  Close a dangling pull request (#217).
  net/ip/mn_socket; fix a typo in address conversion with v6.
  sys/reboot; if fcb_init() sees data it does not recognize in the flash area 
allocated to it, erase that area.
  MYNEWT-713 Sysinit: nimble controller crashes
  MYNEWT-712 Syscfg: Fix float_user to have syscfg
  Fix project name case to match filename
  Add uncrustify style for mynewt
  MYNEWT-711 testbench - Enable split setup.
  MYNEWT-711 testbench - Add BLE peripheral support
  MYNEWT-711 testbench - Add BLE peripheral support
  MYNEWT-709 nffs - Occasional unit test failures
  nmgr_os; reduce the chance of triggering watchdog during reboot by tickling 
it just before doing managed reset.
  MYNEWT-709 nffs - Occasional unit test failures
  No jira ticket: fix uninitialized local variable.
  No jira ticket: get native ble building.
  No jira ticket. Remove unused header file bsp.h
  MYNEWT-707: Add API to retrieve public and random static address
  native/hal_uart.c; break out of tx loop in poller if nothing to transmit.
  net/oic; fix compilation errors with clang.
  MYNEWT-702 dbg: Erase mempool entries during free.
  ...


> 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