Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e6c39aef authored by Jack Pham's avatar Jack Pham Committed by Gerrit - the friendly Code Review server
Browse files

usb: pd: Fix unintentional discarding of outgoing VDM



Currently when a VDM message arrives, any pending VDM TX message
queued will be aborted. But this will inadvertently discard an
initiated Discover Identity if an incoming message such as
Attention arrives just before it. Since there is no TX response
to Attention, the engine should have just been able to resume
the Discover ID message. In general, only discard VDM TX messages
when attempting to queue a new outgoing VDM.

Change-Id: Ife42a19b8f909b0550b6bd44ed470e87a922d6e3
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent 2e7c3098
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment