]> git.baikalelectronics.ru Git - kernel.git/commit
hdlc_ppp: carrier detect ok, don't turn off negotiation
authorDenis Du <dudenis2000@yahoo.ca>
Sat, 24 Feb 2018 21:51:42 +0000 (16:51 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Feb 2018 19:38:12 +0000 (14:38 -0500)
commit44d876135010aaeede053abe6847d2c1d53ff0f7
treef619e45d6401535f7b337378cfd228445ec7a0de
parenta7c2c30ccbe4ad8747a01000f7c26a848762ff93
hdlc_ppp: carrier detect ok, don't turn off negotiation

Sometimes when physical lines have a just good noise to make the protocol
handshaking fail, but the carrier detect still good. Then after remove of
the noise, nobody will trigger this protocol to be start again to cause
the link to never come back. The fix is when the carrier is still on, not
terminate the protocol handshaking.

Signed-off-by: Denis Du <dudenis2000@yahoo.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/hdlc_ppp.c