IPW_DEBUG_ERROR("%s: Could not disable adapter %d\n", 
printk(KERN_ERR DRV_NAME ": %s: Could not disable adapter %d\n", 
static int ipw2100_set_key_index(struct ipw2100_priv *priv,				 int idx, int batch_mode){	struct host_command cmd = {		.host_command = WEP_KEY_INDEX,		.host_command_sequence = 0,		.host_command_length = 4,		.host_command_parameters = { idx },	};	int err;	IPW_DEBUG_HC("WEP_KEY_INDEX: index = %d\n", idx);	if (idx < 0 || idx > 3)		return -EINVAL;	if (!batch_mode) {		err = ipw2100_disable_adapter(priv);		if (err) {			IPW_DEBUG_ERROR("%s: Could not disable adapter %d\n",			       priv->net_dev->name, err);			return err;		}	}	/* send cmd to firmware */	err = ipw2100_hw_send_command(priv, &cmd);	if (!batch_mode)		ipw2100_enable_adapter(priv);	return err;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/797b4f7652a4dcf06bdf6a8c870991acdf56c03d/ipw2100.c/buggy/drivers/net/wireless/ipw2100.c