Revert "ppp: Fix wrong lcp_state handling on peer reconnection"
This reverts commit 800b93de9fd091f8cc03cd442350e027f8eedce3.
Signed-off-by: daniellizewski <daniellizewski@geotab.com>
diff --git a/netutils/pppd/lcp.c b/netutils/pppd/lcp.c
index 4637a7a..069e432 100644
--- a/netutils/pppd/lcp.c
+++ b/netutils/pppd/lcp.c
@@ -135,11 +135,7 @@
/* 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