if((rssi + old) % 2) priv->wstats.qual.level =  ((rssi + old)/2) + 1; 
if ((rssi + old) % 2) priv->wstats.qual.level = (rssi + old) / 2 + 1; 
static void smooth_rssi(struct atmel_private *priv, u8 rssi){	u8 old = priv->wstats.qual.level;	u8 max_rssi = 42; /* 502-rmfd-revd max by experiment, default for now */	switch (priv->firmware_type) {		case ATMEL_FW_TYPE_502E:			max_rssi = 63; /* 502-rmfd-reve max by experiment */			break;		default:			break;	}	rssi = rssi * 100 / max_rssi;	if((rssi + old) % 2)		priv->wstats.qual.level =  ((rssi + old)/2) + 1;	else		priv->wstats.qual.level =  ((rssi + old)/2);			priv->wstats.qual.updated |= IW_QUAL_LEVEL_UPDATED;	priv->wstats.qual.updated &= ~IW_QUAL_LEVEL_INVALID;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/4d791aadf63c9d605bc9a4144e79d5756fc29fb3/atmel.c/clean/drivers/net/wireless/atmel.c