From 0c734ca62b96391b25a077229d04da66149391b1 Mon Sep 17 00:00:00 2001 From: Leandro Zungri Date: Fri, 13 Sep 2024 19:00:22 -0700 Subject: [PATCH] ppp: Reformat to match nuttx coding style --- netutils/pppd/lcp.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/netutils/pppd/lcp.c b/netutils/pppd/lcp.c index 4637a7a4a..65d50343b 100644 --- a/netutils/pppd/lcp.c +++ b/netutils/pppd/lcp.c @@ -135,10 +135,11 @@ void lcp_rx(struct ppp_context_s *ctx, uint8_t * buffer, uint16_t count) /* In case of new peer connection */ ipcp_init(ctx); - - /* Clear LCP state to keep it in negotiation phase. LCP_TX_UP will be re-set - * once a CONF_ACK is received. */ - + + /* Clear LCP state to keep it in negotiation phase. LCP_TX_UP will be + * re-set once a CONF_ACK is received. + */ + ctx->lcp_state &= ~LCP_TX_UP; DEBUG1(("received [LCP Config Request id %u\n", id));