Revert "mt76: use rcu_read_lock_bh in mt76_dma_rx_poll"

This reverts commit 44825e88a4.
Will be replaced by a better fix

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2019-12-05 17:46:07 +01:00
parent 88db676f85
commit fff2c07193
+2 -2
View File
@@ -538,7 +538,7 @@ mt76_dma_rx_poll(struct napi_struct *napi, int budget)
dev = container_of(napi->dev, struct mt76_dev, napi_dev);
qid = napi - dev->napi;
rcu_read_lock_bh();
rcu_read_lock();
do {
cur = mt76_dma_rx_process(dev, &dev->q_rx[qid], budget - done);
@@ -546,7 +546,7 @@ mt76_dma_rx_poll(struct napi_struct *napi, int budget)
done += cur;
} while (cur && done < budget);
rcu_read_unlock_bh();
rcu_read_unlock();
if (done < budget && napi_complete(napi))
dev->drv->rx_poll_complete(dev, qid);