From 6528672f2db205b6127f05ad7c7b9da66661b498 Mon Sep 17 00:00:00 2001 From: Eric Blossom Date: Fri, 4 Sep 2009 15:47:32 -0700 Subject: remove special last_line adjustment from ethernet port --- usrp2/firmware/apps/app_common_v2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usrp2/firmware/apps') diff --git a/usrp2/firmware/apps/app_common_v2.c b/usrp2/firmware/apps/app_common_v2.c index 1568ca70b..67cccd53b 100644 --- a/usrp2/firmware/apps/app_common_v2.c +++ b/usrp2/firmware/apps/app_common_v2.c @@ -600,7 +600,7 @@ bool eth_pkt_inspector(dbsm_t *sm, int bufno) { u2_eth_packet_t *pkt = (u2_eth_packet_t *) buffer_ram(bufno); - size_t byte_len = (buffer_pool_status->last_line[bufno] - 3) * 4; + size_t byte_len = (buffer_pool_status->last_line[bufno] - 1) * 4; //static size_t last_len = 0; -- cgit