/* Check if we need to clear the update flag */ 
/* Check if we need to clear the updated flag */ 
static inline int dev_iwstats(struct net_device *dev, struct ifreq *ifr){	/* Get stats from the driver */	struct iw_statistics *stats;	stats = get_wireless_stats(dev);	if (stats != (struct iw_statistics *) NULL) {		struct iwreq *	wrq = (struct iwreq *)ifr;		/* Copy statistics to the user buffer */		if(copy_to_user(wrq->u.data.pointer, stats,				sizeof(struct iw_statistics)))			return -EFAULT;		/* Check if we need to clear the update flag */		if(wrq->u.data.flags != 0)			stats->qual.updated = 0;		return 0;	} else		return -EOPNOTSUPP;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/6582c164f2b3b6e58d1f13c1c031b19ee691eb14/wireless.c/buggy/net/core/wireless.c