IPW_DEBUG_INFO(DRV_NAME ": %s: Restarting adapter.\n", priv->net_dev->name); 
IPW_DEBUG_INFO(": %s: Restarting adapter.\n", priv->net_dev->name); 
static void ipw2100_reset_adapter(struct ipw2100_priv *priv){	unsigned long flags;	union iwreq_data wrqu = {		.ap_addr = {			    .sa_family = ARPHRD_ETHER}	};	int associated = priv->status & STATUS_ASSOCIATED;	spin_lock_irqsave(&priv->low_lock, flags);	IPW_DEBUG_INFO(DRV_NAME ": %s: Restarting adapter.\n",		       priv->net_dev->name);	priv->resets++;	priv->status &= ~(STATUS_ASSOCIATED | STATUS_ASSOCIATING);	priv->status |= STATUS_SECURITY_UPDATED;	/* Force a power cycle even if interface hasn't been opened	 * yet */	cancel_delayed_work(&priv->reset_work);	priv->status |= STATUS_RESET_PENDING;	spin_unlock_irqrestore(&priv->low_lock, flags);	down(&priv->action_sem);	/* stop timed checks so that they don't interfere with reset */	priv->stop_hang_check = 1;	cancel_delayed_work(&priv->hang_check);	/* We have to signal any supplicant if we are disassociating */	if (associated)		wireless_send_event(priv->net_dev, SIOCGIWAP, &wrqu, NULL);	ipw2100_up(priv, 0);	up(&priv->action_sem);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/a1e695adca76f5729224242e4f2f9f6ceb6863d1/ipw2100.c/buggy/drivers/net/wireless/ipw2100.c