cec: set the ackmask to 0 when closing the connection
[deb_libcec.git] / src / lib / adapter / USBCECAdapterCommunication.cpp
index 924c65a8b0a872ac29cdebc106e5b88f42f08817..62c988b93a93126b1d6d14628101c9d6d3b8a948 100644 (file)
@@ -172,6 +172,7 @@ bool CUSBCECAdapterCommunication::Open(IAdapterCommunicationCallback *cb, uint32
 
 void CUSBCECAdapterCommunication::Close(void)
 {
+  SetAckMask(0);
   CLockObject lock(m_mutex);
   m_rcvCondition.Broadcast();
   StopThread();