patch-2.3.47 linux/drivers/net/hamradio/dmascc.c
Next file: linux/drivers/net/hamradio/hdlcdrv.c
Previous file: linux/drivers/net/hamradio/bpqether.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/hamradio/dmascc.c
- Orig date:
Sun Feb 13 19:29:04 2000
diff -u --recursive --new-file v2.3.46/linux/drivers/net/hamradio/dmascc.c linux/drivers/net/hamradio/dmascc.c
@@ -784,7 +784,7 @@
case SIOCSSCCPARAM:
if (!capable(CAP_NET_ADMIN))
return -EPERM;
- if (test_bit(LINK_STATE_START, &dev->state))
+ if (netif_running(dev))
return -EAGAIN;
if(copy_from_user(&priv->param, ifr->ifr_data, sizeof(struct scc_param)))
return -EFAULT;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)