/* One problem of the isdn net device code is that is uses struct net_device for masters and slaves. However, only master interface are registered to the network layer, and therefore, it only makes sense to call netif_* functions on them. */
static __inline__ int isdn_net_device_started(isdn_net_dev *n)
/* One problem of the isdn net device code is that is uses struct net_device for masters and slaves. However, only master interface are registered to the network layer, and therefore, it only makes sense to call netif_* functions on them. */
static __inline__ int isdn_net_device_started(isdn_net_dev *n)
{
	isdn_net_local *lp = n->local;
	struct net_device *dev;
	if (lp->master) 
		dev = lp->master;
	else
		dev = n->dev;
	return netif_running(dev);
}