From ab6f0cad190c943d433160a2431244dbe8da7cee Mon Sep 17 00:00:00 2001 From: Kedareswara rao Appana Date: Wed, 29 Oct 2014 15:58:17 +0530 Subject: [PATCH] lwip: Fix typo error This patch fixes the typo error in the xemacliteif.c file. Signed-off-by: Kedareswara rao Appana --- ThirdParty/sw_services/lwip140/src/ChangeLog | 1 + .../lwip140/src/contrib/ports/xilinx/netif/xemacliteif.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ThirdParty/sw_services/lwip140/src/ChangeLog b/ThirdParty/sw_services/lwip140/src/ChangeLog index c5298a0d..9190b8a0 100755 --- a/ThirdParty/sw_services/lwip140/src/ChangeLog +++ b/ThirdParty/sw_services/lwip140/src/ChangeLog @@ -5,6 +5,7 @@ Change Log for lwip getting "PHY not connected" error. * Fix for CR 828796 - 2014.3 - AXI Ethernet - 1000BASEX interface not working with echo server design on Zynq. + * Fix for CR 823736 - Fix typo error in xmaecliteif.c file. 2014-13-06 * Fix for CR 802558 - LWIP library doesn't compile with XilKernel/FreeRTOS BSP. diff --git a/ThirdParty/sw_services/lwip140/src/contrib/ports/xilinx/netif/xemacliteif.c b/ThirdParty/sw_services/lwip140/src/contrib/ports/xilinx/netif/xemacliteif.c index d3aa7ae5..5b7eab32 100755 --- a/ThirdParty/sw_services/lwip140/src/contrib/ports/xilinx/netif/xemacliteif.c +++ b/ThirdParty/sw_services/lwip140/src/contrib/ports/xilinx/netif/xemacliteif.c @@ -501,7 +501,7 @@ static err_t low_level_init(struct netif *netif) } xemacliteif = mem_malloc(sizeof *xemacliteif); - if (xemac == NULL) { + if (xemacliteif == NULL) { LWIP_DEBUGF(NETIF_DEBUG, ("xemacliteif_init: out of memory\r\n")); return ERR_MEM; }