patch-2.3.47 linux/drivers/net/cs89x0.c
Next file: linux/drivers/net/de4x5.c
Previous file: linux/drivers/net/arcnet/arcnet.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Thu Feb 17 09:18:47 2000
- Orig file:
v2.3.46/linux/drivers/net/cs89x0.c
- Orig date:
Sat Feb 12 11:22:10 2000
diff -u --recursive --new-file v2.3.46/linux/drivers/net/cs89x0.c linux/drivers/net/cs89x0.c
@@ -941,7 +941,7 @@
static int set_mac_address(struct net_device *dev, void *addr)
{
int i;
- if (test_bit(LINK_STATE_START, &dev->state))
+ if (netif_running(dev))
return -EBUSY;
printk("%s: Setting MAC address to ", dev->name);
for (i = 0; i < 6; i++)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)