[media] cec-adap: on reply, restore the tx_status value from the transmit
authorHans Verkuil <hans.verkuil@cisco.com>
Sun, 26 Jun 2016 09:57:56 +0000 (06:57 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 8 Jul 2016 21:30:21 +0000 (18:30 -0300)
commit7b12b47f78e458ea90cc350bc7a4b9385eef897a
tree0699ebbe6b8aeea8ffa6c39427cf738b918c6013
parent7b2cd0d8dacf0e72cf007e08ab4f82bc245169f7
[media] cec-adap: on reply, restore the tx_status value from the transmit

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 <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/cec/cec-adap.c