]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ath9k_hw: fix an off-by-one error in the PDADC boundaries calculation
authorFelix Fietkau <nbd@openwrt.org>
Sun, 11 Jul 2010 10:48:41 +0000 (12:48 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Aug 2010 17:20:40 +0000 (10:20 -0700)
commit4248e5dba146508a10fb5b05125b9eb6b827ff71
tree6a670866dc016e52dda6db56e9c3ce3980e028d3
parent1d3f87c23716c8723766a371293c1594c3f6f9c7
ath9k_hw: fix an off-by-one error in the PDADC boundaries calculation

commit 03b4776c408d2f4bf3a5d204e223724d154716d1 upstream.

PDADC values were only generated for values surrounding the target
index, however not for the target index itself, leading to a minor
error in the generated curve.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/ath/ath9k/eeprom_def.c