Bluetooth: Controller: fix split central crash and conn param update assert - #58
Merged
petejohanson merged 2 commits intoAug 14, 2026
Conversation
Fix peripheral role assertion during connection update and simultaneous flash operations. prepare_cb: Actual EVENT_OVERHEAD_START_US = 6149 This happens due to instant latency at connection update where the ticks_at_expire was in the past. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no> (cherry picked from commit c4171be)
Fixes ZMK split central lockups caused by controller prepare pipeline overflow
petejohanson
merged commit Aug 14, 2026
10ba6d0
into
zmkfirmware:v4.1.0+zmk-fixes
5 of 8 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the split central crash zmkfirmware/zmk#3370 was opened to diagnose (and thanks to the core dumps that made fixing this possible). Additionally cherry-picks upstream commit that fixes zmkfirmware/zmk#3331 since I ran into that crash also when trying to reproduce the former and the fix was tested with both commits.
Supersedes #51, same cherry-pick.
The bug has been possibly resolved upstream by a prepare deferred feature, so the solution here has no upstream value, and should be replaced by the prepare deferred feature when ZMK upgrades to Zephyr 4.4.