mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
qcacld-3.0: Fix wait timeout in policy mgr timer
In policy_mgr_pdev_set_hw_mode_cb, when next_action is PM_OP, it should also call policy_mgr_set_opportunistic_update, otherwise it would lead to wait timeout in policy_mgr_check_and_stop_opportunistic_timer. Change-Id: I74edb72bedfc1a7ec75aa0ded5b855020599cb94 CRs-Fixed: 2481702
This commit is contained in:
parent
948384dd79
commit
d5db67924a
1 changed files with 1 additions and 5 deletions
|
|
@ -938,12 +938,8 @@ void policy_mgr_pdev_set_hw_mode_cb(uint32_t status,
|
|||
if (PM_NOP != next_action)
|
||||
policy_mgr_next_actions(context, session_id,
|
||||
next_action, reason);
|
||||
else {
|
||||
else
|
||||
policy_mgr_debug("No action needed right now");
|
||||
goto set_done_event;
|
||||
}
|
||||
|
||||
return;
|
||||
|
||||
set_done_event:
|
||||
ret = policy_mgr_set_opportunistic_update(context);
|
||||
|
|
|
|||
Loading…
Reference in a new issue