qcacmn: Correct ml peer_id check in partner chips map

In dp_mlo_partner_chips_map API correct the ML peer_id
check

Change-Id: I036e725571d922a3d01f3f07e16bda755f6f966e
This commit is contained in:
Chaithanya Garrepalli
2021-12-27 18:48:31 +05:30
committad av Madan Koyyalamudi
förälder 2a660189e5
incheckning 0ead24e9f6
2 ändrade filer med 5 tillägg och 2 borttagningar

Visa fil

@@ -408,7 +408,8 @@ void dp_mlo_partner_chips_map(struct dp_soc *soc,
{
struct dp_soc_be *be_soc = dp_get_be_soc_from_dp_soc(soc);
struct dp_mlo_ctxt *mlo_ctxt = be_soc->ml_ctxt;
bool is_ml_peer_id = peer_id & HTT_RX_PEER_META_DATA_V1_ML_PEER_VALID_S;
bool is_ml_peer_id =
HTT_RX_PEER_META_DATA_V1_ML_PEER_VALID_GET(peer_id);
uint8_t chip_id;
struct dp_soc *temp_soc;
@@ -442,7 +443,8 @@ void dp_mlo_partner_chips_unmap(struct dp_soc *soc,
{
struct dp_soc_be *be_soc = dp_get_be_soc_from_dp_soc(soc);
struct dp_mlo_ctxt *mlo_ctxt = be_soc->ml_ctxt;
bool is_ml_peer_id = peer_id & HTT_RX_PEER_META_DATA_V1_ML_PEER_VALID_S;
bool is_ml_peer_id =
HTT_RX_PEER_META_DATA_V1_ML_PEER_VALID_GET(peer_id);
uint8_t chip_id;
struct dp_soc *temp_soc;