qcacmn: Fix smmu fault for IPA TX buffer unmapped

It's regression of change: qcacmn: Fix smmu fault for tx buffer unmapped.
Only 1 tx buffer is smmu mapped for IPA with it.
During STA-SAP tethering, when IPA access 2nd tx buffer, smmu fault
happens.

Remove qdf_assert_always since it already exists in
__dp_ipa_handle_buf_smmu_mapping.

Change-Id: Ife8ed17d85a8bcfc507c312001af4b905c9b3a27
CRs-Fixed: 2937435
Este commit está contenido en:
Jianmin Zhu
2021-05-11 16:23:55 +08:00
cometido por Madan Koyyalamudi
padre 81c70ce74b
commit 2c9dd68894

Ver fichero

@@ -195,8 +195,8 @@ static QDF_STATUS __dp_ipa_tx_buf_smmu_mapping(
if (!nbuf)
continue;
buf_len = qdf_nbuf_get_data_len(nbuf);
return __dp_ipa_handle_buf_smmu_mapping(
soc, nbuf, buf_len, create);
ret = __dp_ipa_handle_buf_smmu_mapping(soc, nbuf, buf_len,
create);
}
return ret;
@@ -682,7 +682,6 @@ static QDF_STATUS dp_ipa_tx_alt_buf_smmu_mapping(struct dp_soc *soc,
buf_len = qdf_nbuf_get_data_len(nbuf);
ret = __dp_ipa_handle_buf_smmu_mapping(
soc, nbuf, buf_len, create);
qdf_assert_always(!ret);
}
return ret;