-
- Downloads
usb: tcpm: cleanup IsPRSwap flag
Setting the flag in PR_SWAP_ACCEPT but not in PR_SWAP_SEND,
will exclude all role_swaps initiated locally. Also, it is
consistent making the flag false in PR_SWAP_SEND_TIMEOUT
as it was not set in PR_SWAP_SEND in the first place.
PR_SWAP always starts with PR_SWAP_START state. Hence, set
the flag here. Also clear the flag if TCPM enters error
recovery.
Bug: 62492793
Signed-off-by:
Badhri Jagan Sridharan <Badhri@google.com>
Loading
Please register or sign in to comment