-
Notifications
You must be signed in to change notification settings - Fork 7.5k
Bluetooth: controller: Workaround multi-link DLE assert #14553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bluetooth: controller: Workaround multi-link DLE assert #14553
Conversation
@alexsven could you verify if this is a suitable workaround in comparison to commenting out the assert? |
*/ | ||
LL_ASSERT(0); | ||
return -EAGAIN; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't look right. You changed the return value of this function to u32_t but here you're returning a negative value?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oversight, will fix it. Thank you. Changed the return type to int.
881f968
to
206c35a
Compare
Workaround from asserting when Rx PDU buffers from pool needing resize is acquired by another connection. By skipping the connection events to give some headroom for the host to process the Rx packets and eventually make the pool available for resize. Fixes zephyrproject-rtos#11841. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
206c35a
to
0f44aa2
Compare
Codecov Report
@@ Coverage Diff @@
## master #14553 +/- ##
==========================================
- Coverage 52.02% 51.98% -0.04%
==========================================
Files 309 309
Lines 45574 45575 +1
Branches 10555 10555
==========================================
- Hits 23711 23694 -17
- Misses 17057 17070 +13
- Partials 4806 4811 +5
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QUICK-ACK
@cvinayak |
Workaround from asserting when Rx PDU buffers from pool
needing resize is acquired by another connection. By
skipping the connection events to give some headroom for
the host to process the Rx packets and eventually make the
pool available for resize.
Fixes #11841.
Signed-off-by: Vinayak Kariappa Chettimada [email protected]