Skip to content

Commit

Permalink
ppp: Reformat to match nuttx coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
lzungri authored and xiaoxiang781216 committed Sep 14, 2024
1 parent 800b93d commit 0c734ca
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions netutils/pppd/lcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 0c734ca

Please sign in to comment.