diff options
author | Maya Erez <merez@codeaurora.org> | 2018-08-23 14:47:10 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-08-28 16:48:46 +0300 |
commit | df2b53884a5a454bf441ca78e5b57307262c73f4 (patch) | |
tree | 52ec9b4b6de5a3ed9bedd2d0a07fae51fa7fc6ad /drivers/net/xen-netfront.c | |
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>
Diffstat (limited to 'drivers/net/xen-netfront.c')
0 files changed, 0 insertions, 0 deletions