Commit 07073a27 authored by Felix Fietkau's avatar Felix Fietkau Committed by Kalle Valo

mt76: fix potential sleep in atomic context

Use cancel_delayed_work instead of cancel_delayed_work_sync
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 80f28994
......@@ -273,7 +273,7 @@ static void mt76_rx_aggr_shutdown(struct mt76_dev *dev, struct mt76_rx_tid *tid)
spin_unlock_bh(&tid->lock);
cancel_delayed_work_sync(&tid->reorder_work);
cancel_delayed_work(&tid->reorder_work);
}
void mt76_rx_aggr_stop(struct mt76_dev *dev, struct mt76_wcid *wcid, u8 tidno)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment