From d38b79b7b219b9d1e7ae9dda74413edd956fa038 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Fri, 28 Dec 2012 10:15:14 +0000 Subject: [PATCH] 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 +- readme.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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(); diff --git a/readme.txt b/readme.txt index 4ecf7ce5f..2ca5b898c 100644 --- a/readme.txt +++ b/readme.txt @@ -82,6 +82,8 @@ ***************************************************************************** *** 2.5.2 *** +- FIX: Fixed error in STM32 MAC driver degrades performance (bug 3598719) + (backported to 2.4.4). - FIX: Fixed warning in STM32 ICU driver using IAR compiler (bug 3598177) (backported to 2.4.3). - FIX: Fixed wrong SPI path in platform_f105_f107.mk (bug 3598151).