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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user