mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
qcacld-3.0: validate sbs HW mode set
PM_SBS/PM_SBS_DOWNGRADE action should not be executed again if current hw mode is sbs. Change-Id: I9bf2666c559dbf6a3ad73aec7ee94db7c50b82a7 CRs-Fixed: 2375652
This commit is contained in:
parent
0ec24dc0ab
commit
77ff66cad4
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2012-2018 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2012-2019 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
|
|
@ -934,7 +934,7 @@ QDF_STATUS policy_mgr_validate_dbs_switch(
|
|||
/* current mode is already SBS nothing to be
|
||||
* done
|
||||
*/
|
||||
if (hw_mode.sbs_cap && action == PM_SBS) {
|
||||
if (hw_mode.sbs_cap) {
|
||||
policy_mgr_notice("current mode is already SBS");
|
||||
return QDF_STATUS_E_ALREADY;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue