aboutsummaryrefslogtreecommitdiffstats
path: root/src/librtlsdr.c
diff options
context:
space:
mode:
authorHoernchen <la@tfc-server.de>2013-01-10 01:07:39 +0100
committerHoernchen <la@tfc-server.de>2013-01-10 01:41:05 +0100
commitf1ac20c3715001974f477860d8fc00b678921e83 (patch)
tree8cd0bbc3287f763b200cc56ebe061688e3a87e7a /src/librtlsdr.c
parent1cde8634ca2cd8b2cccdbd1b4b1b646e8ada3a34 (diff)
disable force canceling for now to prevent crashes
Diffstat (limited to 'src/librtlsdr.c')
-rw-r--r--src/librtlsdr.c3
1 files changed, 2 insertions, 1 deletions
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;
}