 if (priv->status & STATUS_RF_KILL_MASK) { spin_unlock_irqrestore(&priv->lock, flags); return; }  if (!(priv->status & STATUS_LED_ACT_ON)) { led = ipw_read_reg32(priv, CX2_EVENT_REG); led |= priv->led_activity_on;  led = ipw_register_toggle(led);  IPW_DEBUG_LED("Reg: 0x%08X\n", led); ipw_write_reg32(priv, CX2_EVENT_REG, led);  IPW_DEBUG_LED("Activity LED On\n");  priv->status |= STATUS_LED_ACT_ON;  cancel_delayed_work(&priv->led_act_off); queue_delayed_work(priv->workqueue, &priv->led_act_off, LD_TIME_ACT_ON); } else { /* Reschedule LED off for full time period */ cancel_delayed_work(&priv->led_act_off); queue_delayed_work(priv->workqueue, &priv->led_act_off, LD_TIME_ACT_ON); }  
__ipw_led_activity_on(priv); 
void ipw_led_activity_on(struct ipw_priv *priv){	unsigned long flags;	u32 led;	if (priv->config & CFG_NO_LED)		return;	spin_lock_irqsave(&priv->lock, flags);	if (priv->status & STATUS_RF_KILL_MASK) {		spin_unlock_irqrestore(&priv->lock, flags);		return;	}	if (!(priv->status & STATUS_LED_ACT_ON)) {		led = ipw_read_reg32(priv, CX2_EVENT_REG);		led |= priv->led_activity_on;		led = ipw_register_toggle(led);		IPW_DEBUG_LED("Reg: 0x%08X\n", led);		ipw_write_reg32(priv, CX2_EVENT_REG, led);		IPW_DEBUG_LED("Activity LED On\n");		priv->status |= STATUS_LED_ACT_ON;		cancel_delayed_work(&priv->led_act_off);		queue_delayed_work(priv->workqueue, &priv->led_act_off,				   LD_TIME_ACT_ON);	} else {		/* Reschedule LED off for full time period */		cancel_delayed_work(&priv->led_act_off);		queue_delayed_work(priv->workqueue, &priv->led_act_off,				   LD_TIME_ACT_ON);	}	spin_unlock_irqrestore(&priv->lock, flags);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/b095c3819805f87d73d41641a53e4c070360d783/ipw2200.c/buggy/drivers/net/wireless/ipw2200.c