mt76: fix potential sleep in atomic context

Use cancel_delayed_work instead of cancel_delayed_work_sync

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2018-02-27 16:04:08 +01:00
parent cda627fd8f
commit ffa2069e78
+1 -1
View File
@@ -281,7 +281,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)