Hi Sven,

On Mon, Feb 01, 2016 at 11:00:16PM +0100, Sven Eckelmann wrote:
> -     tp_avg = minstrel_ht_get_tp_avg(mi, i, j, prob) * AVG_PKT_SIZE * 8 / 
> 1024;
> +     tp_avg = minstrel_ht_get_tp_avg(mi, i, j, prob) * 10;
> +     tp_avg *= AVG_PKT_SIZE * 8 / 1024;

This doesn't look right, in integer arithmetics there is a big
difference between (a * b) / c and a * ( b / c).


Johannes
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to