summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--host/usrp_e_utils/usrp-e-loopback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/usrp_e_utils/usrp-e-loopback.c b/host/usrp_e_utils/usrp-e-loopback.c
index 6730967de..bf0bb7d43 100644
--- a/host/usrp_e_utils/usrp-e-loopback.c
+++ b/host/usrp_e_utils/usrp-e-loopback.c
@@ -200,7 +200,7 @@ static void *write_thread(void *threadid)
if (packet_data_length > 0)
p->len = packet_data_length;
else
- p->len = (random() & 0x1ff) + (1004 - 512);
+ p->len = (random() & 0x1fe) + (1000 - 512);
p->words32 = 4 /*hdr*/ + p->len/2;