if ((priv->sec.flags & SEC_ENABLED) && priv->sec.enabled) 
if ((priv->ieee->sec.flags & SEC_ENABLED) && priv->ieee->sec.enabled) 
static int ipw2100_set_scan_options(struct ipw2100_priv *priv){	struct host_command cmd = {		.host_command = SET_SCAN_OPTIONS,		.host_command_sequence = 0,		.host_command_length = 8	};	int err;	IPW_DEBUG_INFO("enter\n");	IPW_DEBUG_SCAN("setting scan options\n");	cmd.host_command_parameters[0] = 0;	if (!(priv->config & CFG_ASSOCIATE))		cmd.host_command_parameters[0] |= IPW_SCAN_NOASSOCIATE;	if ((priv->sec.flags & SEC_ENABLED) && priv->sec.enabled)		cmd.host_command_parameters[0] |= IPW_SCAN_MIXED_CELL;	if (priv->config & CFG_PASSIVE_SCAN)		cmd.host_command_parameters[0] |= IPW_SCAN_PASSIVE;	cmd.host_command_parameters[1] = priv->channel_mask;	err = ipw2100_hw_send_command(priv, &cmd);	IPW_DEBUG_HC("SET_SCAN_OPTIONS 0x%04X\n",		     cmd.host_command_parameters[0]);	return err;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/25b645be1e25e16ea7a25678ac195a0e7595c629/ipw2100.c/clean/drivers/net/wireless/ipw2100.c