qcacmn: Update replenish soc get for same SOC
In dp_replenish_soc_get() API return current soc if chip_id of SOC matches Change-Id: Iab7cc1809ab0e5daeb07dcfbd8f67a1d7ee9b12f CRs-Fixed: 3297754
This commit is contained in:

gecommit door
Madan Koyyalamudi

bovenliggende
66a71fac21
commit
7c36d50fba
@@ -646,6 +646,9 @@ dp_rx_replensih_soc_get(struct dp_soc *soc, uint8_t chip_id)
|
||||
if (!be_soc->mlo_enabled || !mlo_ctxt)
|
||||
return soc;
|
||||
|
||||
if (be_soc->mlo_chip_id == chip_id)
|
||||
return soc;
|
||||
|
||||
replenish_soc = dp_mlo_get_soc_ref_by_chip_id(mlo_ctxt, chip_id);
|
||||
if (qdf_unlikely(!replenish_soc)) {
|
||||
dp_alert("replenish SOC is NULL");
|
||||
|
Verwijs in nieuw issue
Block a user