mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
qcacld-3.0: Print correct concurrency support
Currently host checks mac number to indicate MCC or DBS which may not be correct. Host may print DBS in case of MCC. Check DBS support and print concurrency based on hw mode if hw mode is dbs capable then print DBS else MCC. Change-Id: I1578e6a7a6b73b5b6c409653b4dc276954f51c3d CRs-Fixed: 2845634
This commit is contained in:
parent
bdd2e8a1fa
commit
d6d37c5bf8
1 changed files with 5 additions and 5 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2012-2020 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2012-2021 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
|
||||
|
|
@ -1268,11 +1268,11 @@ void policy_mgr_dump_current_concurrency(struct wlan_objmgr_psoc *psoc)
|
|||
if (pm_conc_connection_list[0].freq ==
|
||||
pm_conc_connection_list[1].freq) {
|
||||
strlcat(cc_mode, " SCC", sizeof(cc_mode));
|
||||
} else if (pm_conc_connection_list[0].mac ==
|
||||
pm_conc_connection_list[1].mac) {
|
||||
strlcat(cc_mode, " MCC", sizeof(cc_mode));
|
||||
} else
|
||||
} else if (policy_mgr_is_dbs_enable(psoc)) {
|
||||
strlcat(cc_mode, " DBS", sizeof(cc_mode));
|
||||
} else {
|
||||
strlcat(cc_mode, " MCC", sizeof(cc_mode));
|
||||
}
|
||||
qdf_mutex_release(&pm_ctx->qdf_conc_list_lock);
|
||||
policy_mgr_debug("%s", cc_mode);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue