mt76x2: add napi struct to mt76_rx_poll_complete/mt76_rx_complete signatures
in order to reuse mt76_rx_complete routine supporting mt76x2u based devices add napi struct to mt76_rx_poll_complete and mt76_rx_complete routine signatures and do not fetch it according to the rx queue index Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:

committed by
Kalle Valo

parent
d3c94b4046
commit
81e850ef26
@@ -113,7 +113,7 @@ mt76_rx_aggr_reorder_work(struct work_struct *work)
|
||||
if (nframes)
|
||||
ieee80211_queue_delayed_work(tid->dev->hw, &tid->reorder_work,
|
||||
REORDER_TIMEOUT);
|
||||
mt76_rx_complete(dev, &frames, -1);
|
||||
mt76_rx_complete(dev, &frames, NULL);
|
||||
|
||||
rcu_read_unlock();
|
||||
local_bh_enable();
|
||||
|
Reference in New Issue
Block a user