memcpy(&cmd.param, &tmp_associate, sizeof(*associate)); 
memcpy(cmd.param, &tmp_associate, sizeof(*associate)); 
static int ipw_send_associate(struct ipw_priv *priv,			      struct ipw_associate *associate){	struct host_cmd cmd = {		.cmd = IPW_CMD_ASSOCIATE,		.len = sizeof(*associate)	};	struct ipw_associate tmp_associate;	memcpy(&tmp_associate, associate, sizeof(*associate));	tmp_associate.policy_support =	    cpu_to_le16(tmp_associate.policy_support);	tmp_associate.assoc_tsf_msw = cpu_to_le32(tmp_associate.assoc_tsf_msw);	tmp_associate.assoc_tsf_lsw = cpu_to_le32(tmp_associate.assoc_tsf_lsw);	tmp_associate.capability = cpu_to_le16(tmp_associate.capability);	tmp_associate.listen_interval =	    cpu_to_le16(tmp_associate.listen_interval);	tmp_associate.beacon_interval =	    cpu_to_le16(tmp_associate.beacon_interval);	tmp_associate.atim_window = cpu_to_le16(tmp_associate.atim_window);	if (!priv || !associate) {		IPW_ERROR("Invalid args\n");		return -1;	}	memcpy(&cmd.param, &tmp_associate, sizeof(*associate));	if (ipw_send_cmd(priv, &cmd)) {		IPW_ERROR("failed to send ASSOCIATE command\n");		return -1;	}	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/afbf30a2b78cac38e6ddae10a73063943b4783ee/ipw2200.c/clean/drivers/net/wireless/ipw2200.c