commit | 2374b18684dfed2a0588efe4df716d16554da467 | [log] [tgz] |
---|---|---|
author | Michal Kazior <michal.kazior@tieto.com> | Mon Jul 14 16:25:25 2014 +0300 |
committer | Kalle Valo <kvalo@qca.qualcomm.com> | Tue Jul 15 11:18:58 2014 +0300 |
tree | 47be53e5596ff37aafa1a0648778bf3083f63091 | |
parent | a491a920ff5c22cc09700a2660f6eac55b1ce4c1 [diff] |
ath10k: fix bmi exchange tx/rx race It was possible for tx completion not to be processed. In that case an old stack pointer was left on copy engine tx ring. Next bmi exchange would immediately pop it and use complete() on the completion struct there causing corruption. Make sure to wait for both tx and rx completions properly. Signed-off-by: Michal Kazior <michal.kazior@tieto.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>