if (priv->ieee->sec.flags & SEC_ACTIVE_KEY) ipw_send_tgi_tx_key(priv, DCT_FLAG_EXT_SECURITY_TKIP, priv->ieee->sec.active_key); 
if (!(priv->ieee->sec.flags & SEC_ACTIVE_KEY)) break;  ipw_send_tgi_tx_key(priv, DCT_FLAG_EXT_SECURITY_TKIP, priv->ieee->sec.active_key); 
static void ipw_set_hwcrypto_keys(struct ipw_priv *priv){	switch (priv->ieee->sec.level) {	case SEC_LEVEL_3:		if (priv->ieee->sec.flags & SEC_ACTIVE_KEY)			ipw_send_tgi_tx_key(priv,					    DCT_FLAG_EXT_SECURITY_CCM,					    priv->ieee->sec.active_key);		ipw_send_wep_keys(priv, DCW_WEP_KEY_SEC_TYPE_CCM);		priv->sys_config.disable_unicast_decryption = 0;		priv->sys_config.disable_multicast_decryption = 0;		priv->ieee->host_decrypt = 0;		if (ipw_send_system_config(priv, &priv->sys_config))			IPW_ERROR("ipw_send_system_config failed\n");		break;	case SEC_LEVEL_2:		if (priv->ieee->sec.flags & SEC_ACTIVE_KEY)			ipw_send_tgi_tx_key(priv,					    DCT_FLAG_EXT_SECURITY_TKIP,					    priv->ieee->sec.active_key);		priv->sys_config.disable_unicast_decryption = 1;		priv->sys_config.disable_multicast_decryption = 1;		priv->ieee->host_decrypt = 1;		if (ipw_send_system_config(priv, &priv->sys_config))			IPW_ERROR("ipw_send_system_config failed\n");		break;	case SEC_LEVEL_1:		ipw_send_wep_keys(priv, DCW_WEP_KEY_SEC_TYPE_WEP);		priv->sys_config.disable_unicast_decryption = 0;		priv->sys_config.disable_multicast_decryption = 0;		priv->ieee->host_decrypt = 0;		if (ipw_send_system_config(priv, &priv->sys_config))			IPW_ERROR("ipw_send_system_config failed\n");		break;	case SEC_LEVEL_0:	default:		break;	}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/afbf30a2b78cac38e6ddae10a73063943b4783ee/ipw2200.c/clean/drivers/net/wireless/ipw2200.c