qcacld-3.0: Fix check SBS low shared flag

In policy_mgr_get_index_for_ml_sta_sap_hwmode_sbs,
if SBS supported, at least one share type should be
supported.
Fix the missing check of Low share SBS.

Change-Id: I9ab848bab9ae8eb5c9d4bb85022b83be92e4c1e9
CRs-Fixed: 3338956
This commit is contained in:
Liangwei Dong
2022-11-16 16:47:35 +08:00
committed by Madan Koyyalamudi
parent 93cbaec1b9
commit a594e9af75

View File

@@ -2385,7 +2385,7 @@ static void policy_mgr_get_index_for_ml_sta_sap_hwmode_sbs(
sta_freq_list[ml_sta_idx[1]]);
return;
}
if (!sbs_24_shared_high_support && !sbs_24_shared_high_support) {
if (!sbs_24_shared_low_support && !sbs_24_shared_high_support) {
policy_mgr_err("unexpected sbs mode: low share %d high share %d",
sbs_24_shared_low_support,
sbs_24_shared_high_support);