Skip to content

add workaround for some buggy controllers#880

Merged
barbibulle merged 2 commits intomainfrom
gbg/command-status-hack
Feb 3, 2026
Merged

add workaround for some buggy controllers#880
barbibulle merged 2 commits intomainfrom
gbg/command-status-hack

Conversation

@barbibulle
Copy link
Collaborator

@barbibulle barbibulle commented Feb 2, 2026

Some controllers are buggy, so we need to try and workaround some quirks in order to use them.
Specifically here:

  • some controllers return an error for some commands, even though they declare that they support them. Workaround: ignore the error, as if the command was not supported.

Also, for unknown HCI commands, some controllers return "command complete" events and some return "command status" events. So we need to support both case, regardless of whether the command is sync or async.

@barbibulle barbibulle requested a review from zxzxwu February 2, 2026 21:23
@barbibulle barbibulle merged commit 2d17a5f into main Feb 3, 2026
77 of 78 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants