From: Michal Kazior Date: Mon, 14 Jul 2014 13:25:25 +0000 (+0300) Subject: ath10k: fix bmi exchange tx/rx race X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~73^2~41^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2374b18684dfed2a0588efe4df716d16554da467;p=pandora-kernel.git 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 Signed-off-by: Kalle Valo --- Reading git-diff-tree failed