if (hdlc->carrier) 
if (hdlc->carrier) { printk(KERN_INFO "%s: Carrier detected\n", dev->name); 
void hdlc_set_carrier(int on, struct net_device *dev){	hdlc_device *hdlc = dev_to_hdlc(dev);	unsigned long flags;	on = on ? 1 : 0;#ifdef DEBUG_LINK	printk(KERN_DEBUG "hdlc_set_carrier %i\n", on);#endif	spin_lock_irqsave(&hdlc->state_lock, flags);	if (hdlc->carrier == on)		goto carrier_exit; /* no change in DCD line level */#ifdef DEBUG_LINK	printk(KERN_INFO "%s: carrier %s\n", dev->name, on ? "ON" : "off");#endif	hdlc->carrier = on;	if (!hdlc->open)		goto carrier_exit;	if (hdlc->carrier)		__hdlc_set_carrier_on(dev);	else		__hdlc_set_carrier_off(dev);carrier_exit:	spin_unlock_irqrestore(&hdlc->state_lock, flags);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/b3dd65f958354226275522b5a64157834bdc5415/hdlc_generic.c/buggy/drivers/net/wan/hdlc_generic.c