From: Felix Fietkau Date: Fri, 15 Jun 2012 01:04:52 +0000 (+0200) Subject: ath9k: fix a tx rate duration calculation bug X-Git-Tag: v3.2.22~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c42ad8fcf33fee7b949a6355b71a773843131b9;p=pandora-kernel.git 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 Signed-off-by: John W. Linville Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed