#endif 
static void fr_set_link_state(int reliable, struct net_device *dev){	hdlc_device *hdlc = dev_to_hdlc(dev);	pvc_device *pvc = hdlc->state.fr.first_pvc;	hdlc->state.fr.reliable = reliable;	if (reliable) {		if (!netif_carrier_ok(dev))			netif_carrier_on(dev);		hdlc->state.fr.n391cnt = 0; /* Request full status */		hdlc->state.fr.dce_changed = 1;		if (hdlc->state.fr.settings.lmi == LMI_NONE) {			while (pvc) {	/* Activate all PVCs */				pvc_carrier(1, pvc);				pvc->state.exist = pvc->state.active = 1;				pvc->state.new = 0;				pvc = pvc->next;			}		}	} else {		if (netif_carrier_ok(dev))			netif_carrier_off(dev);		while (pvc) {		/* Deactivate all PVCs */			pvc_carrier(0, pvc);			pvc->state.exist = pvc->state.active = 0;			pvc->state.new = 0;			if (!hdlc->state.fr.settings.dce)				pvc->state.bandwidth = 0;			pvc = pvc->next;		}	}}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/1f7bad72c0ed8cf29d13bac81ceeba9e1ac05c66/hdlc_fr.c/buggy/drivers/net/wan/hdlc_fr.c