memcpy(&priv->ieee->bssid, priv->bssid, ETH_ALEN); 
memcpy(priv->ieee->bssid, priv->bssid, ETH_ALEN); 
static void ipw2100_wx_event_work(struct ipw2100_priv *priv){	union iwreq_data wrqu;	int len = ETH_ALEN;	if (priv->status & STATUS_STOPPING)		return;	down(&priv->action_sem);	IPW_DEBUG_WX("enter\n");	up(&priv->action_sem);	wrqu.ap_addr.sa_family = ARPHRD_ETHER;	/* Fetch BSSID from the hardware */	if (!(priv->status & (STATUS_ASSOCIATING | STATUS_ASSOCIATED)) ||	    priv->status & STATUS_RF_KILL_MASK ||	    ipw2100_get_ordinal(priv, IPW_ORD_STAT_ASSN_AP_BSSID,				&priv->bssid, &len)) {		memset(wrqu.ap_addr.sa_data, 0, ETH_ALEN);	} else {		/* We now have the BSSID, so can finish setting to the full		 * associated state */		memcpy(wrqu.ap_addr.sa_data, priv->bssid, ETH_ALEN);		memcpy(&priv->ieee->bssid, priv->bssid, ETH_ALEN);		priv->status &= ~STATUS_ASSOCIATING;		priv->status |= STATUS_ASSOCIATED;		netif_carrier_on(priv->net_dev);		if (netif_queue_stopped(priv->net_dev)) {			IPW_DEBUG_INFO("Waking net queue.\n");			netif_wake_queue(priv->net_dev);		} else {			IPW_DEBUG_INFO("Starting net queue.\n");			netif_start_queue(priv->net_dev);		}	}	if (!(priv->status & STATUS_ASSOCIATED)) {		IPW_DEBUG_WX("Configuring ESSID\n");		down(&priv->action_sem);		/* This is a disassociation event, so kick the firmware to		 * look for another AP */		if (priv->config & CFG_STATIC_ESSID)			ipw2100_set_essid(priv, priv->essid, priv->essid_len,					  0);		else			ipw2100_set_essid(priv, NULL, 0, 0);		up(&priv->action_sem);	}	wireless_send_event(priv->net_dev, SIOCGIWAP, &wrqu, NULL);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/823283549da144ff49e65c6e4a670b7784203e0b/ipw2100.c/buggy/drivers/net/wireless/ipw2100.c