From 0f75a69fa0a71879e2bf1a3a8a95152d633c6ad1 Mon Sep 17 00:00:00 2001 From: Philip Balister Date: Wed, 26 Jan 2011 14:44:23 -0800 Subject: Mark received block as accepted by user space. --- host/apps/omap_debug/usrp-e-mm-loopback.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'host/apps/omap_debug/usrp-e-mm-loopback.c') 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; -- cgit v1.2.3