 return (&priv->wstats); 
 return &priv->wstats; 
static struct iw_statistics *atmel_get_wireless_stats (struct net_device *dev){	struct atmel_private *priv = netdev_priv(dev);	/* update the link quality here in case we are seeing no beacons 	   at all to drive the process */	atmel_smooth_qual(priv);		priv->wstats.status = priv->station_state;	if (priv->operating_mode == IW_MODE_INFRA) {		if (priv->station_state != STATION_STATE_READY) {			priv->wstats.qual.qual = 0;			priv->wstats.qual.level = 0;			priv->wstats.qual.updated = (IW_QUAL_QUAL_INVALID					| IW_QUAL_LEVEL_INVALID);		}		priv->wstats.qual.noise = 0;		priv->wstats.qual.updated |= IW_QUAL_NOISE_INVALID;	} else {		/* Quality levels cannot be determined in ad-hoc mode,		   because we can 'hear' more that one remote station. */		priv->wstats.qual.qual = 0;		priv->wstats.qual.level	= 0;		priv->wstats.qual.noise	= 0;		priv->wstats.qual.updated = IW_QUAL_QUAL_INVALID					| IW_QUAL_LEVEL_INVALID					| IW_QUAL_NOISE_INVALID;		priv->wstats.miss.beacon = 0;	}		return (&priv->wstats);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/4d791aadf63c9d605bc9a4144e79d5756fc29fb3/atmel.c/clean/drivers/net/wireless/atmel.c