IPW_DEBUG_WARNING("exit - card failed to change to DISABLED\n"); 
printk(KERN_WARNING DRV_NAME ": exit - card failed to change to DISABLED\n"); 
static int ipw2100_disable_adapter(struct ipw2100_priv *priv){	struct host_command cmd = {		.host_command = CARD_DISABLE,		.host_command_sequence = 0,		.host_command_length = 0	};	int err = 0;	IPW_DEBUG_HC("CARD_DISABLE\n");	if (!(priv->status & STATUS_ENABLED))		return 0;	/* Make sure we clear the associated state */	priv->status &= ~(STATUS_ASSOCIATED | STATUS_ASSOCIATING);	if (!priv->stop_hang_check) {		priv->stop_hang_check = 1;		cancel_delayed_work(&priv->hang_check);	}	down(&priv->adapter_sem);	err = ipw2100_hw_send_command(priv, &cmd);	if (err) {		IPW_DEBUG_WARNING("exit - failed to send CARD_DISABLE command\n");		goto fail_up;	}	err = ipw2100_wait_for_card_state(priv, IPW_HW_STATE_DISABLED);	if (err) {		IPW_DEBUG_WARNING("exit - card failed to change to DISABLED\n");		goto fail_up;	}	IPW_DEBUG_INFO("TODO: implement scan state machine\n");fail_up:	up(&priv->adapter_sem);	return err;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/797b4f7652a4dcf06bdf6a8c870991acdf56c03d/ipw2100.c/buggy/drivers/net/wireless/ipw2100.c