diff options
Diffstat (limited to 'drivers/net/3c509.c')
-rw-r--r-- | drivers/net/3c509.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/3c509.c b/drivers/net/3c509.c index d3d941d20..af1be0848 100644 --- a/drivers/net/3c509.c +++ b/drivers/net/3c509.c @@ -468,7 +468,7 @@ static int el3_start_xmit(struct sk_buff *skb, struct device *dev) #endif #endif /* Avoid timer-based retransmission conflicts. */ - if (set_bit(0, (void*)&dev->tbusy) != 0) + if (test_and_set_bit(0, (void*)&dev->tbusy) != 0) printk("%s: Transmitter access conflict.\n", dev->name); else { lp->stats.tx_bytes+=skb->len; |