ppp: Reformat to match nuttx coding style
This commit is contained in:
parent
800b93de9f
commit
0c734ca62b
@ -135,10 +135,11 @@ void lcp_rx(struct ppp_context_s *ctx, uint8_t * buffer, uint16_t count)
|
|||||||
/* In case of new peer connection */
|
/* In case of new peer connection */
|
||||||
|
|
||||||
ipcp_init(ctx);
|
ipcp_init(ctx);
|
||||||
|
|
||||||
/* Clear LCP state to keep it in negotiation phase. LCP_TX_UP will be re-set
|
/* Clear LCP state to keep it in negotiation phase. LCP_TX_UP will be
|
||||||
* once a CONF_ACK is received. */
|
* re-set once a CONF_ACK is received.
|
||||||
|
*/
|
||||||
|
|
||||||
ctx->lcp_state &= ~LCP_TX_UP;
|
ctx->lcp_state &= ~LCP_TX_UP;
|
||||||
|
|
||||||
DEBUG1(("received [LCP Config Request id %u\n", id));
|
DEBUG1(("received [LCP Config Request id %u\n", id));
|
||||||
|
Loading…
Reference in New Issue
Block a user