andrzej-kaczmarek opened a new pull request #43: nimble/ll: Fix assertion when 
scheduling aux
URL: https://github.com/apache/mynewt-nimble/pull/43
 
 
   Advertising events are scheduled from LL task and we always try to
   schedule two auxes one after another (for chaining). However, since this
   does not happen in critical section it can happen that we're interrupted
   after scheduling 1st aux, so when we try to schedule 2nd one there is no
   aux scheduled anymore which causes an assert.
   
   It it safe to just skip the scheduling in this case and thus handle this
   gracefully. The only drawback is that we possibly truncate aux chain,
   but this is harmless.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to