mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
Revert "ppp: Fix wrong lcp_state handling on peer reconnection"
This reverts commit 800b93de9f.
Signed-off-by: daniellizewski <daniellizewski@geotab.com>
This commit is contained in:
parent
ba8823534c
commit
9bbc2fe1e4
1 changed files with 1 additions and 5 deletions
|
|
@ -135,11 +135,7 @@ 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. */
|
||||
|
||||
ctx->lcp_state &= ~LCP_TX_UP;
|
||||
ctx->lcp_state &= ~LCP_RX_UP;
|
||||
|
||||
DEBUG1(("received [LCP Config Request id %u\n", id));
|
||||
if (scan_packet
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue