mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
qcacmn: Kill bh execution contexts before cleaning up the hif
The interrupts are being freed, but the execution contexts are not guaranteed to be stopped. Ensure the execution contexts are stopped to prevent race conditions between the cleanup and normal execution. Change-Id: I77f2e0fb7073dbb3337e1cbbb6ed09295c7ea23e CRs-Fixed: 2030393
This commit is contained in:
parent
5d6386f288
commit
7622cd32b0
1 changed files with 1 additions and 1 deletions
|
|
@ -2114,7 +2114,7 @@ void hif_ce_stop(struct hif_softc *scn)
|
|||
* before cleaning up any memory, ensure irq &
|
||||
* bottom half contexts will not be re-entered
|
||||
*/
|
||||
hif_nointrs(scn);
|
||||
hif_disable_isr(&scn->osc);
|
||||
hif_destroy_oom_work(scn);
|
||||
scn->hif_init_done = false;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue