 for(i = 0; i < MAX_ENCRYPTION_KEYS;  i++) 
 for (i = 0; i < MAX_ENCRYPTION_KEYS; i++) 
static void build_wep_mib(struct atmel_private *priv)/* Move the encyption information on the MIB structure.   This routine is for the pre-WPA firmware: later firmware has   a different format MIB and a different routine. */{	struct { /* NB this is matched to the hardware, don't change. */		u8 wep_is_on;                 		u8 default_key; /* 0..3 */		u8 reserved;		u8 exclude_unencrypted;				u32 WEPICV_error_count;		u32 WEP_excluded_count;				u8 wep_keys[MAX_ENCRYPTION_KEYS][13]; 		u8 encryption_level; /* 0, 1, 2 */		u8 reserved2[3]; 	} mib;	int i;	mib.wep_is_on = priv->wep_is_on;	if (priv->wep_is_on) {		if (priv->wep_key_len[priv->default_key] > 5)			mib.encryption_level = 2;		else			mib.encryption_level = 1;		} else {		mib.encryption_level = 0;	}	mib.default_key = priv->default_key;	mib.exclude_unencrypted = priv->exclude_unencrypted;		for(i = 0; i < MAX_ENCRYPTION_KEYS;  i++)		memcpy(mib.wep_keys[i], priv->wep_keys[i], 13);			atmel_set_mib(priv, Mac_Wep_Mib_Type, 0, (u8 *)&mib, sizeof(mib));}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/4d791aadf63c9d605bc9a4144e79d5756fc29fb3/atmel.c/clean/drivers/net/wireless/atmel.c