# # Description: fix a race which make syncppp dial on demand not working with # newer kernel versions # Author : Karsten Keil # # --- linux-2.4.1.SuSE.org/drivers/isdn/isdn_ppp.c 2002-03-27 13:57:13.000000000 +0100 +++ linux/drivers/isdn/isdn_ppp.c 2002-10-12 01:43:06.000000000 +0200 @@ -491,7 +491,9 @@ if (val & SC_ENABLE_IP && !(is->pppcfg & SC_ENABLE_IP) && (is->state & IPPP_CONNECT)) { if (lp) { /* OK .. we are ready to send buffers */ + is->pppcfg = val; /* isdn_ppp_xmit test for SC_ENABLE_IP !!! */ netif_wake_queue(&lp->netdev->dev); + break; } } is->pppcfg = val;