mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-09 20:31:13 -05:00
qcacld-3.0: Add reason for opportunistic API
Add reason code return to caller to identify the hw mode update reason. Change-Id: I9c754626018ad7cd3f7dc1d287b834629e93dc17 CRs-Fixed: 2338089
This commit is contained in:
parent
42ad008d5b
commit
3774e5db94
1 changed files with 1 additions and 1 deletions
|
|
@ -21316,7 +21316,7 @@ void csr_process_set_hw_mode(tpAniSirGlobal mac, tSmeCmd *command)
|
|||
if ((POLICY_MGR_UPDATE_REASON_OPPORTUNISTIC ==
|
||||
command->u.set_hw_mode_cmd.reason) &&
|
||||
(!command->u.set_hw_mode_cmd.hw_mode_index &&
|
||||
!policy_mgr_need_opportunistic_upgrade(mac->psoc))) {
|
||||
!policy_mgr_need_opportunistic_upgrade(mac->psoc, NULL))) {
|
||||
sme_err("Set HW mode to SMM not needed anymore");
|
||||
goto fail;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue