diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-06-15 03:04:52 +0200 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2012-07-04 05:44:21 +0100 |
commit | 4c42ad8fcf33fee7b949a6355b71a773843131b9 (patch) | |
tree | 1412944080603ed220e905232b7e0311f25cb219 /net/batman-adv/routing.c | |
parent | 86f65876182c72dfae0f7d1ecd619f6fc39b1ff0 (diff) | |
download | kernel_samsung_smdk4412-4c42ad8fcf33fee7b949a6355b71a773843131b9.zip kernel_samsung_smdk4412-4c42ad8fcf33fee7b949a6355b71a773843131b9.tar.gz kernel_samsung_smdk4412-4c42ad8fcf33fee7b949a6355b71a773843131b9.tar.bz2 |
ath9k: fix a tx rate duration calculation bug
commit 76591bea9714a58d8924154068c78d702eb2cb17 upstream.
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>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'net/batman-adv/routing.c')
0 files changed, 0 insertions, 0 deletions