key->key_index = i; if (!(priv->sec.flags & (1 << i))) 
key->key_index = i | type; if (!(priv->ieee->sec.flags & (1 << i))) { 
static void ipw_send_wep_keys(struct ipw_priv *priv){	struct ipw_wep_key *key;	int i;	struct host_cmd cmd = {		.cmd = IPW_CMD_WEP_KEY,		.len = sizeof(*key)	};	key = (struct ipw_wep_key *)&cmd.param;	key->cmd_id = DINO_CMD_WEP_KEY;	key->seq_num = 0;	for (i = 0; i < 4; i++) {		key->key_index = i;		if (!(priv->sec.flags & (1 << i)))			key->key_size = 0;		else {			key->key_size = priv->sec.key_sizes[i];			memcpy(key->key, priv->sec.keys[i], key->key_size);		}		if (ipw_send_cmd(priv, &cmd)) {			IPW_ERROR("failed to send WEP_KEY command\n");			return;		}	}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/b095c3819805f87d73d41641a53e4c070360d783/ipw2200.c/buggy/drivers/net/wireless/ipw2200.c