projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b2cd0d
)
[media] cec-adap: on reply, restore the tx_status value from the transmit
author
Hans Verkuil
<
[email protected]
>
Sun, 26 Jun 2016 09:57:56 +0000
(06:57 -0300)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Fri, 8 Jul 2016 21:30:21 +0000
(18:30 -0300)
When a reply to an earlier transmit is received, the tx_status of that
transmit needs to be restored. Otherwise the status that the transmit
was successful would be lost.
Signed-off-by: Hans Verkuil <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/staging/media/cec/cec-adap.c
patch
|
blob
|
history
diff --git
a/drivers/staging/media/cec/cec-adap.c
b/drivers/staging/media/cec/cec-adap.c
index 5ffa839e5deccad32237a4a23421c145497fbb20..98bdcf92a2b119308cec4951cbae8a386239e1c2 100644
(file)
--- a/
drivers/staging/media/cec/cec-adap.c
+++ b/
drivers/staging/media/cec/cec-adap.c
@@
-801,6
+801,7
@@
void cec_received_msg(struct cec_adapter *adap, struct cec_msg *msg)
/* We got a reply */
msg->sequence = dst->sequence;
+ msg->tx_status = dst->tx_status;
dst_reply = dst->reply;
*dst = *msg;
dst->reply = dst_reply;