From f1ac20c3715001974f477860d8fc00b678921e83 Mon Sep 17 00:00:00 2001 From: Hoernchen Date: Thu, 10 Jan 2013 01:07:39 +0100 Subject: [PATCH] disable force canceling for now to prevent crashes --- src/librtlsdr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/librtlsdr.c b/src/librtlsdr.c index 50c536a..b0a95d8 100644 --- a/src/librtlsdr.c +++ b/src/librtlsdr.c @@ -1657,11 +1657,12 @@ int rtlsdr_cancel_async(rtlsdr_dev_t *dev) } /* if called while in pending state, change the state forcefully */ +#if 0 if (RTLSDR_INACTIVE != dev->async_status) { dev->async_status = RTLSDR_INACTIVE; return 0; } - +#endif return -2; }