diff options
author | Felix Fietkau <nbd@nbd.name> | 2018-04-03 21:52:52 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-04-24 19:30:03 +0200 |
commit | 07073a2768ac8ef1360f715a68c3f7b7d1f23850 (patch) | |
tree | 9cc14425ce2ea79db3dbac5c89cd1febab710fb4 /drivers/net/wireless/mediatek/mt76/agg-rx.c | |
parent | mt76: rework tx power handling (diff) | |
download | linux-07073a2768ac8ef1360f715a68c3f7b7d1f23850.tar.xz linux-07073a2768ac8ef1360f715a68c3f7b7d1f23850.zip |
mt76: fix potential sleep in atomic context
Use cancel_delayed_work instead of cancel_delayed_work_sync
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/agg-rx.c')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/agg-rx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/agg-rx.c b/drivers/net/wireless/mediatek/mt76/agg-rx.c index fcb208d1f276..cbac42cb536c 100644 --- a/drivers/net/wireless/mediatek/mt76/agg-rx.c +++ b/drivers/net/wireless/mediatek/mt76/agg-rx.c @@ -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) |