diff options
author | Felix Fietkau <[email protected]> | 2023-01-13 11:58:48 +0100 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2023-01-16 17:27:17 +0200 |
commit | 953519b35227d5dbbb5c5724f1f539735fbf7781 (patch) | |
tree | bc0107a3d7dfb31ebec91ea85a40e53ac4c2733e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | e5c3ac895750b39ef53b84ff4814617ecd69d556 (diff) |
wifi: mt76: dma: fix a regression in adding rx buffers
When adding WED support, mt76_dma_add_buf was accidentally changed to set
the skip_buf0 flag for tx buffers on the wrong queue descriptor entry.
Additionally, there is a rxwi leak when rx buffer allocation fails.
Fix this and make the code more readable by adding a separate function for
adding rx buffers.
Reported-by: Mikhail Gavrilov <[email protected]>
Tested-by: Mikhail Gavrilov <[email protected]>
Link: https://lore.kernel.org/r/CABXGCsMEnQd=gYKTd1knRsWuxCb=Etv5nAre%[email protected]/
Reported-by: Mike Lothian <[email protected]>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=216829
Reported-by: AngeloGioacchino Del Regno <[email protected]>
Link: https://lore.kernel.org/lkml/[email protected]/
Fixes: cd372b8c99c5 ("wifi: mt76: add WED RX support to mt76_dma_{add,get}_buf")
Signed-off-by: Felix Fietkau <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions