summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMaya Erez <qca_merez@qca.qualcomm.com>2016-05-29 08:46:34 +0300
committerKyle Yan <kyan@codeaurora.org>2016-06-08 15:18:09 -0700
commit215177e6063bcfd4abff6b66fa05bcb7c3ea363c (patch)
treebc9aa064f3a90daefbaafcca4ecb125462e6b3c6 /scripts
parentb6b5f4b2a2eeef2b7be923c089759f1965a1fe43 (diff)
wil6210: fix dma mapping error cleanup in __wil_tx_vring_tso
In case we fail to map one of the TSO SKB fragments, we need to clear all the mapped descriptors, from swhead to swhead+descs_used-1. Change the desc index calculation to i = (swhead + descs_used - 1) % vring->size; to prevent unmpping of (swhead + descs_used) descriptor that wasn't mapped. Change-Id: I81b99522ada809fa375c6b6887f8ea0e6482fba3 Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com> Git-commit: a1526f7eafa434f756579e2bc784b7605f96bf3e Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git CRs-Fixed: 1015627 Signed-off-by: Maya Erez <merez@codeaurora.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions