summaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorPhilip Balister <philip@opensdr.com>2011-01-26 14:44:23 -0800
committerPhilip Balister <philip@opensdr.com>2011-01-26 14:44:23 -0800
commit0f75a69fa0a71879e2bf1a3a8a95152d633c6ad1 (patch)
tree6ba652f1d504f32a89593e6c043183d88829084f /host
parentde5c86d210a0b88d2dd0080f9499aaeed9647e03 (diff)
downloaduhd-0f75a69fa0a71879e2bf1a3a8a95152d633c6ad1.tar.gz
uhd-0f75a69fa0a71879e2bf1a3a8a95152d633c6ad1.tar.bz2
uhd-0f75a69fa0a71879e2bf1a3a8a95152d633c6ad1.zip
Mark received block as accepted by user space.
Diffstat (limited to 'host')
-rw-r--r--host/apps/omap_debug/usrp-e-mm-loopback.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/host/apps/omap_debug/usrp-e-mm-loopback.c b/host/apps/omap_debug/usrp-e-mm-loopback.c
index f5fc83c87..b67eecd21 100644
--- a/host/apps/omap_debug/usrp-e-mm-loopback.c
+++ b/host/apps/omap_debug/usrp-e-mm-loopback.c
@@ -75,6 +75,8 @@ static void *read_thread(void *threadid)
ssize_t ret = poll(&pfd, 1, -1);
}
+ (*rxi)[rb_read].flags = RB_USER_PROCESS;
+
// printf("pkt received, rb_read = %d\n", rb_read);
cnt = (*rxi)[rb_read].len;