commit | df2b53884a5a454bf441ca78e5b57307262c73f4 | [log] [tgz] |
---|---|---|
author | Maya Erez <merez@codeaurora.org> | Thu Aug 23 14:47:10 2018 +0300 |
committer | Kalle Valo <kvalo@codeaurora.org> | Tue Aug 28 16:48:46 2018 +0300 |
tree | 52ec9b4b6de5a3ed9bedd2d0a07fae51fa7fc6ad | |
parent | 686ab4f5bd8d696bfeef55ef761c7f7a6ad1b3ec [diff] |
wil6210: prevent usage of tx ring 0 for eDMA In enhanced DMA ring 0 is used for RX ring, hence TX ring 0 is an unused element in ring_tx and ring2cid_tid arrays. Initialize ring2cid_tid CID to WIL6210_MAX_CID to prevent a false match of CID 0. Go over the ring_tx and ring2cid_tid from wil_get_min_tx_ring_id and on to prevent access to index 0 in eDMA. Signed-off-by: Maya Erez <merez@codeaurora.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>