You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2021/02/17 18:53:00 UTC

[GitHub] [mynewt-nimble] artyeffem commented on issue #694: Assertion `!ble_hs_locked_by_cur_task()' failed on Linux Platform

artyeffem commented on issue #694:
URL: https://github.com/apache/mynewt-nimble/issues/694#issuecomment-780773330


   I added this to the `#else` (i.e. Linux) section
   `return (ble_hs_mutex_locked && ble_hs_task_handle == ble_npl_get_current_task_id());`
   
   Haven't hit this assert for months until passing through the `ble_store_util_status` handler that calls `ble_gap_unpair_oldest_peer`.
   Should there be `ble_hs_lock/unlock` around this unpair operation?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org