]> www.vanbest.org Git - sasc-ng.git/commitdiff
hddevice: set CA descriptor delay
authorleslie <unknown>
Sun, 21 Aug 2011 18:52:40 +0000 (20:52 +0200)
committerleslie <unknown>
Sun, 21 Aug 2011 18:52:40 +0000 (20:52 +0200)
device-hd.c

index 24364d5c50036e25eba86bf1688209fa5f12a728..0c70f6d967c85ef8e983b5cb59a0c8a2af02972c 100644 (file)
@@ -50,6 +50,7 @@ SCAPIVERSTAG();
 
 bool cScDvbHdFfDevice::SetCaDescr(ca_descr_t *ca_descr, bool initial)
 {
+  if(!initial) cCondWait::SleepMs(150);
   cMutexLock lock(&cafdMutex);
   return ioctl(fd_ca,CA_SET_DESCR,ca_descr)>=0;
 }