summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-06-15 03:04:53 +0200
committerJohn W. Linville <linville@tuxdriver.com>2012-06-19 20:56:24 +0200
commit80b08a8d8829a58b5db14b1417151094cc28face (patch)
tree69a5f0c17529b1c3fda8344a65a7a6de86754264 /sound
parentath9k: fix a tx rate duration calculation bug (diff)
downloadlinux-80b08a8d8829a58b5db14b1417151094cc28face.tar.xz
linux-80b08a8d8829a58b5db14b1417151094cc28face.zip
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 <nbd@openwrt.org> Reported-by: Thomas Hühn <thomas@net.t-labs.tu-berlin.de> Acked-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Cc: stable@vger.kernel.org [3.4] Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions