patch-2.1.37 linux/drivers/isdn/isdn_net.c
Next file: linux/drivers/isdn/sc/Makefile
Previous file: linux/drivers/isdn/hisax/isdnl1.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon May 12 17:39:50 1997
- Orig file:
v2.1.36/linux/drivers/isdn/isdn_net.c
- Orig date:
Thu Feb 27 10:57:30 1997
diff -u --recursive --new-file v2.1.36/linux/drivers/isdn/isdn_net.c linux/drivers/isdn/isdn_net.c
@@ -934,7 +934,7 @@
return 0;
}
/* Avoid timer-based retransmission conflicts. */
- if (set_bit(0, (void *) &ndev->tbusy) != 0)
+ if (test_and_set_bit(0, (void *) &ndev->tbusy) != 0)
printk(KERN_WARNING
"%s: Transmitter access conflict.\n",
ndev->name);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov