From: Felix Fietkau Date: Fri, 15 Jun 2012 01:04:53 +0000 (+0200) Subject: ath9k: fix invalid pointer access in the tx path X-Git-Tag: v3.5-rc5~17^2~26^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80b08a8d8829a58b5db14b1417151094cc28face;p=pandora-kernel.git ath9k: fix invalid pointer access in the tx path After setup_frame_info has been called, only info->control.rates is still valid, other control fields have been overwritten by the ath_frame_info data. Move the access to info->control.vif for checking short preamble to setup_frame_info before it gets overwritten. This regression was introduced in commit d47a61aa "ath9k: Fix multi-VIF BSS handling" Signed-off-by: Felix Fietkau Reported-by: Thomas Hühn Acked-by: Sujith Manoharan Cc: stable@vger.kernel.org [3.4] Signed-off-by: John W. Linville --- Reading git-diff-tree failed