qcacmn: Remove dual beacon MCC check from SCC check case
In the API policy_mgr_dual_beacon_on_single_mac_scc_capable the check of wmi_service_dual_beacon_on_single_mac_mcc_support is there too, which in any case is void, as if the driver supports SCC, then it will return true from the first check itself, and if it doesn't support SCC, it will surely not support MCC too, so the check of MCC after SCC is void anyways Fix is to remove the check of MCC dual beaconing capability from policy_mgr_dual_beacon_on_single_mac_scc_capable Change-Id: Ia427be4fcee0e0267171d81cf7e8e669560d20a9 CRs-Fixed: 2299182
This commit is contained in:

committed by
nshrivas

orang tua
df4a57cd31
melakukan
cfd8be4c4c
@@ -3118,16 +3118,10 @@ bool policy_mgr_dual_beacon_on_single_mac_scc_capable(
|
||||
if (wmi_service_enabled(
|
||||
wmi_handle,
|
||||
wmi_service_dual_beacon_on_single_mac_scc_support)) {
|
||||
policy_mgr_debug("Support dual beacon on same channel on single MAC");
|
||||
policy_mgr_debug("Dual beaconing on same channel on single MAC supported");
|
||||
return true;
|
||||
}
|
||||
if (wmi_service_enabled(
|
||||
wmi_handle,
|
||||
wmi_service_dual_beacon_on_single_mac_mcc_support)) {
|
||||
policy_mgr_debug("Support dual beacon on both different and same channel on single MAC");
|
||||
return true;
|
||||
}
|
||||
policy_mgr_debug("Not support dual beacon on same channel on single MAC");
|
||||
policy_mgr_debug("Dual beaconing on same channel on single MAC is not supported");
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -3145,10 +3139,10 @@ bool policy_mgr_dual_beacon_on_single_mac_mcc_capable(
|
||||
if (wmi_service_enabled(
|
||||
wmi_handle,
|
||||
wmi_service_dual_beacon_on_single_mac_mcc_support)) {
|
||||
policy_mgr_debug("Support dual beacon on different channel on single MAC");
|
||||
policy_mgr_debug("Dual beaconing on different channel on single MAC supported");
|
||||
return true;
|
||||
}
|
||||
policy_mgr_debug("Not support dual beacon on different channel on single MAC");
|
||||
policy_mgr_debug("Dual beaconing on different channel on single MAC is not supported");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user