summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJack Pham <jackp@codeaurora.org>2017-06-07 15:35:57 -0700
committerJack Pham <jackp@codeaurora.org>2017-06-07 15:39:31 -0700
commitc8735c75303bdff8ba4e8270932222d386e8cf40 (patch)
tree97eaf2f06637f8e431d7da526adedb2b2243db01 /net/unix/af_unix.c
parent71c2e3fc4ffa5aa629f3afd9d971b2e1f521255f (diff)
usb: pd: Increment MessageID only on successful TX
According to the PD 2.0 Spec, Section 6.2.1.3, the MessageID field shall only be incremented upon successful transmission (meaning GoodCRC was received). Thus, increment the counter only when pd_phy_write() succeeds. Change-Id: I73dce5736c473a1f79db9be868442c7941d13c44 Signed-off-by: Jack Pham <jackp@codeaurora.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions