mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
qcacld-3.0: Cancel iface_idle_work in HDD exit
The interface idle timeout work is started at the very end of the SoC probe process. During rmmod, this timer is proactively canceled, but a race between probe and rmmod means this cancel is not deterministic. The mirror operation to probe is remove, so cancel this work at the beginning of the remove process. This preserves symmetry between probe and remove, and also deterministically cancels the work, since probe and remove are properly synchronized. Change-Id: Idfd68c0ed638dbe810db72d64f301018db45d522 CRs-Fixed: 2309533
This commit is contained in:
parent
86cba282c6
commit
6470aba31f
1 changed files with 2 additions and 0 deletions
|
|
@ -6988,6 +6988,8 @@ static void hdd_wlan_exit(struct hdd_context *hdd_ctx)
|
|||
|
||||
hdd_enter();
|
||||
|
||||
qdf_cancel_delayed_work(&hdd_ctx->iface_idle_work);
|
||||
|
||||
hdd_unregister_notifiers(hdd_ctx);
|
||||
|
||||
#ifdef FEATURE_WLAN_AP_AP_ACS_OPTIMIZE
|
||||
|
|
|
|||
Loading…
Reference in a new issue