Skip to content

Commit fd08751

Browse files
committed
Revert "ppp: Fix wrong lcp_state handling on peer reconnection"
This reverts commit 800b93d. Signed-off-by: daniellizewski <[email protected]>
1 parent e5dc8b9 commit fd08751

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

netutils/pppd/lcp.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,7 @@ void lcp_rx(struct ppp_context_s *ctx, uint8_t * buffer, uint16_t count)
135135
/* In case of new peer connection */
136136

137137
ipcp_init(ctx);
138-
139-
/* Clear LCP state to keep it in negotiation phase. LCP_TX_UP will be re-set
140-
* once a CONF_ACK is received. */
141-
142-
ctx->lcp_state &= ~LCP_TX_UP;
138+
ctx->lcp_state &= ~LCP_RX_UP;
143139

144140
DEBUG1(("received [LCP Config Request id %u\n", id));
145141
if (scan_packet

0 commit comments

Comments
 (0)