sjanc opened a new pull request, #2094: URL: https://github.com/apache/mynewt-nimble/pull/2094
Mark connection as disconnected as soon as HCI Disconnection Complete event is processed. At this point ACL handle is no longer valid and controller will ignore any ACL data sent to it. Since later GAP Disconnected event is not handled atomically it may lead to TX data on that handle and thus 'leaking' available packets count on host. This is especially possible when there is connection timoue while host is in the middle of data transmission (eg sending nitifications). -- 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. To unsubscribe, e-mail: notifications-unsubscr...@mynewt.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org