]> bbs.cooldavid.org Git - net-next-2.6.git/commit
mac80211: Fix output of minstrels rc_stats
authorArnd Hannemann <hannemann@nets.rwth-aachen.de>
Mon, 24 Aug 2009 18:51:46 +0000 (20:51 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 28 Aug 2009 18:40:43 +0000 (14:40 -0400)
commiteadac6bf95e1945bb64e6f8f22d8509391645e2e
treec8657948ec7725f8c2c893dda51194c258fecf5e
parent2aa7b01fe4f2d0978115bfd40364f52d86003606
mac80211: Fix output of minstrels rc_stats

An integer overflow in the minstrel debug code prevented the
throughput to be displayed correctly. This patch fixes that,
by permutating operations like proposed by Pavel Roskin.

Signed-off-by: Arnd Hannemann <hannemann@nets.rwth-aachen.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/rc80211_minstrel_debugfs.c