We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9df085 commit 5f0ce58Copy full SHA for 5f0ce58
drivers/net/wireless/mediatek/mt76/dma.c
@@ -72,9 +72,11 @@ mt76_free_pending_txwi(struct mt76_dev *dev)
72
{
73
struct mt76_txwi_cache *t;
74
75
+ local_bh_disable();
76
while ((t = __mt76_get_txwi(dev)) != NULL)
77
dma_unmap_single(dev->dev, t->dma_addr, dev->drv->txwi_size,
78
DMA_TO_DEVICE);
79
+ local_bh_enable();
80
}
81
82
static int
0 commit comments