aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath10k/thermal.c
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vthiagar@qti.qualcomm.com>2015-01-09 22:49:46 +0530
committerKalle Valo <kvalo@qca.qualcomm.com>2015-01-13 16:22:08 +0200
commit5de6dfc82f715b9fe9cf5c0cccce4384a82279ef (patch)
tree5c4a073cf6b0f0e949c033f6d79770c5c2b82c7d /drivers/net/wireless/ath/ath10k/thermal.c
parentath10k: fixup wait_for_completion_timeout return handling (diff)
downloadlinux-dev-5de6dfc82f715b9fe9cf5c0cccce4384a82279ef.tar.xz
linux-dev-5de6dfc82f715b9fe9cf5c0cccce4384a82279ef.zip
ath10k: Fix potential Rx ring corruption
When replenishing Rx buffers driver updates the address of the buffer and the index of rx buffer in rx ring to the firmware. Change in order by CPU can cause rx ring corruption. Add memory barrier before updating rx buffer index to guarantee the order. This could fix some instances of rx ring corruption due to done bit in rx attention flag not set. Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qti.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/thermal.c')
0 files changed, 0 insertions, 0 deletions