patch-2.1.41 linux/drivers/isdn/isdn_net.c

Next file: linux/drivers/pnp/parport_procfs.c
Previous file: linux/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.40/linux/drivers/isdn/isdn_net.c linux/drivers/isdn/isdn_net.c
@@ -374,7 +374,7 @@
 							return 1;
 						}
 					}
-					if (clear_bit(0, (void *) &(p->dev.tbusy)))
+					if (test_and_clear_bit(0, (void *) &(p->dev.tbusy)))
 						mark_bh(NET_BH);
 				}
 				return 1;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov