commit | 76591bea9714a58d8924154068c78d702eb2cb17 | [log] [tgz] |
---|---|---|
author | Felix Fietkau <nbd@openwrt.org> | Fri Jun 15 03:04:52 2012 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Tue Jun 19 14:56:24 2012 -0400 |
tree | a86298c07fb07dd53aaf4147a282cc2b06495c1a | |
parent | bcb7ad7bcbef030e6ba71ede1f9866368aca7c99 [diff] |
ath9k: fix a tx rate duration calculation bug The rate pointer variable for a rate series is used in a loop before it is initialized. This went unnoticed because it was used earlier for the RTS/CTS rate. This bug can lead to the wrong PHY type being passed to the duration calculation function. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Cc: stable@kernel.org Signed-off-by: John W. Linville <linville@tuxdriver.com>