Skip to content
Commit 80b08a8d authored by Felix Fietkau's avatar Felix Fietkau Committed by John W. Linville
Browse files

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: default avatarFelix Fietkau <nbd@openwrt.org>
Reported-by: default avatarThomas Hühn <thomas@net.t-labs.tu-berlin.de>
Acked-by: default avatarSujith Manoharan <c_manoha@qca.qualcomm.com>
Cc: stable@vger.kernel.org [3.4]
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 76591bea
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment