mt76x2: dfs: avoid tasklet scheduling during mt76x2_dfs_init_params()
authorLorenzo Bianconi <[email protected]>
Tue, 9 Jan 2018 13:13:10 +0000 (14:13 +0100)
committerKalle Valo <[email protected]>
Wed, 24 Jan 2018 15:15:33 +0000 (17:15 +0200)
commit8c9f6491a313b5b83f6f395b5cd195f261124fe5
tree94fe17e4dca7263f8ceb817e8efe949d3afb7e74
parent23405236460b90b263775bd4b5eb331aaae1e8f4
mt76x2: dfs: avoid tasklet scheduling during mt76x2_dfs_init_params()

Substitute tasklet_kill with tasklet_disable/tasklet_enable in order to
guarantee dfs tasklet can not be executed during dfs parameter
initialization

Signed-off-by: Lorenzo Bianconi <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
drivers/net/wireless/mediatek/mt76/mt76x2_dfs.c
drivers/net/wireless/mediatek/mt76/mt76x2_main.c