From 2fa7e003b190eefcda903b019ac92fb66c28f30f Mon Sep 17 00:00:00 2001 From: Sylvain Rochet Date: Thu, 31 Jan 2013 15:36:30 +0100 Subject: [PATCH] PPP, fixed LCP delayed up feature LCP is stealing a bit from fsm->flags struct member for LCP delayed up feature. Bit stealed used to be the 9th bit (0x100) but fsm->flags was reduced to u8_t to save memory, we are now stealing the 8th bit (0x80). --- src/netif/ppp/lcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/netif/ppp/lcp.c b/src/netif/ppp/lcp.c index beab480b..e11d4371 100644 --- a/src/netif/ppp/lcp.c +++ b/src/netif/ppp/lcp.c @@ -68,7 +68,7 @@ * configure-requests. We do this by delaying the fsm_lowerup call. */ /* steal a bit in fsm flags word */ -#define DELAYED_UP 0x100 +#define DELAYED_UP 0x80 static void lcp_delayed_up(void *arg);