From aabd42dd05694d05ffdeff353e98c748b719437d Mon Sep 17 00:00:00 2001 From: Hoernchen Date: Thu, 18 Oct 2012 01:27:51 +0200 Subject: rtl_tcp: increase the timeout in worker thread the reset takes ages on windows Signed-off-by: Steve Markgraf --- src/rtl_tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rtl_tcp.c') diff --git a/src/rtl_tcp.c b/src/rtl_tcp.c index 8e2e53d..eeab395 100644 --- a/src/rtl_tcp.c +++ b/src/rtl_tcp.c @@ -179,7 +179,7 @@ static void *tcp_worker(void *arg) pthread_mutex_lock(&ll_mutex); gettimeofday(&tp, NULL); - ts.tv_sec = tp.tv_sec+1; + ts.tv_sec = tp.tv_sec+5; ts.tv_nsec = tp.tv_usec * 1000; r = pthread_cond_timedwait(&cond, &ll_mutex, &ts); if(r == ETIMEDOUT) { -- cgit v1.2.3