From d38b79b7b219b9d1e7ae9dda74413edd956fa038 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Fri, 28 Dec 2012 10:15:14 +0000 Subject: Fixed bug 3598719. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4981 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32/mac_lld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os/hal') diff --git a/os/hal/platforms/STM32/mac_lld.c b/os/hal/platforms/STM32/mac_lld.c index 1a7687d2f..0d5590006 100644 --- a/os/hal/platforms/STM32/mac_lld.c +++ b/os/hal/platforms/STM32/mac_lld.c @@ -535,7 +535,7 @@ msg_t mac_lld_get_receive_descriptor(MACDriver *macp, } /* Invalid frame found, purging.*/ rdes->rdes0 = STM32_RDES0_OWN; - macp->rxptr = (stm32_eth_rx_descriptor_t *)rdes->rdes3; + rdes = macp->rxptr = (stm32_eth_rx_descriptor_t *)rdes->rdes3; } chSysUnlock(); -- cgit v1.2.3