]> nv-tegra.nvidia Code Review - linux-2.6.git/commit
rc80211-pid: simplify and fix shift_adjust
authorStefano Brivio <stefano.brivio@polimi.it>
Sun, 23 Dec 2007 03:41:19 +0000 (04:41 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:00:52 +0000 (15:00 -0800)
commitfa44327c06492c9bd625dbc8dbe35e5d5965fec6
treef13a2e0faf5b15457d125461495561da017c84c2
parentca5fbca924b845863ab9da00ac90b3384445f497
rc80211-pid: simplify and fix shift_adjust

Simplify and fix rate_control_pid_shift_adjust(). A bug prevented correct
mapping of sorted rates, and readability was seriously flawed.

Signed-off-by: Stefano Brivio <stefano.brivio@polimi.it>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mac80211/rc80211_pid_algo.c