repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cec: call SetControlledMode(false) as last command when closing the connection in...
[deb_libcec.git]
/
src
/
lib
/
adapter
/
USBCECAdapterCommunication.cpp
diff --git
a/src/lib/adapter/USBCECAdapterCommunication.cpp
b/src/lib/adapter/USBCECAdapterCommunication.cpp
index cd41a8a3e50f36724753b8f268ff33b86b3f6f7b..f56bdf4b1f029a233cce849e74df727ba905918f 100644
(file)
--- a/
src/lib/adapter/USBCECAdapterCommunication.cpp
+++ b/
src/lib/adapter/USBCECAdapterCommunication.cpp
@@
-252,6
+252,9
@@
void *CUSBCECAdapterCommunication::Process(void)
/* set the ackmask to 0 before closing the connection */
SetAckMaskInternal(0, true);
+ if (m_iFirmwareVersion >= 2)
+ SetControlledMode(false);
+
if (m_port)
{
delete m_port;