From f8846d1311333f09a281acb21324be324559fc42 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Fri, 18 Mar 2022 08:42:44 +0000 Subject: [PATCH] Fixed bug #1227. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_20.3.x@15528 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- os/various/lwip_bindings/lwipthread.c | 2 +- readme.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/os/various/lwip_bindings/lwipthread.c b/os/various/lwip_bindings/lwipthread.c index ee4303fcc..b2868c84d 100644 --- a/os/various/lwip_bindings/lwipthread.c +++ b/os/various/lwip_bindings/lwipthread.c @@ -104,7 +104,7 @@ static void low_level_init(struct netif *netif) { /* device capabilities */ /* don't set NETIF_FLAG_ETHARP if this device is not an Ethernet one */ - netif->flags = NETIF_FLAG_BROADCAST | NETIF_FLAG_ETHARP | NETIF_FLAG_LINK_UP; + netif->flags = NETIF_FLAG_BROADCAST | NETIF_FLAG_ETHARP; /* Do whatever else is needed to initialize interface. */ } diff --git a/readme.txt b/readme.txt index b5ad982a5..6100bbd93 100644 --- a/readme.txt +++ b/readme.txt @@ -76,6 +76,7 @@ *** 20.3.5 *** - FIX: Some MISRA-related fixes. - FIX: Re-opened and fixed bug #1100. +- FIX: Fixed invalid handling of lwIP NETIF_FLAG_LINK_UP flag (bug #1227). - FIX: Fixed missing TIM16/17 errata handling for STM32G0xx (bug #1226). - FIX: Fixed missing ADC errata handling for STM32G0xx (bug #1225). - FIX: Fixed problem in the HAL I2C fallback driver (bug #1224).