Commit 8aa68304 authored by Alex Elder's avatar Alex Elder Committed by David S. Miller

net: ipa: fix a duplicated tlv_type value

In the ipa_indication_register_req_ei[] encoding array, the tlv_type
associated with the ipa_mhi_ready_ind field is wrong.  It duplicates
the value used for the data_usage_quota_reached field (0x11) and
should use value 0x12 instead.  Fix this bug.
Reported-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: default avatarAlex Elder <elder@linaro.org>
Acked-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6f0d3250
...@@ -56,7 +56,7 @@ struct qmi_elem_info ipa_indication_register_req_ei[] = { ...@@ -56,7 +56,7 @@ struct qmi_elem_info ipa_indication_register_req_ei[] = {
.elem_size = .elem_size =
sizeof_field(struct ipa_indication_register_req, sizeof_field(struct ipa_indication_register_req,
ipa_mhi_ready_ind_valid), ipa_mhi_ready_ind_valid),
.tlv_type = 0x11, .tlv_type = 0x12,
.offset = offsetof(struct ipa_indication_register_req, .offset = offsetof(struct ipa_indication_register_req,
ipa_mhi_ready_ind_valid), ipa_mhi_ready_ind_valid),
}, },
...@@ -66,7 +66,7 @@ struct qmi_elem_info ipa_indication_register_req_ei[] = { ...@@ -66,7 +66,7 @@ struct qmi_elem_info ipa_indication_register_req_ei[] = {
.elem_size = .elem_size =
sizeof_field(struct ipa_indication_register_req, sizeof_field(struct ipa_indication_register_req,
ipa_mhi_ready_ind), ipa_mhi_ready_ind),
.tlv_type = 0x11, .tlv_type = 0x12,
.offset = offsetof(struct ipa_indication_register_req, .offset = offsetof(struct ipa_indication_register_req,
ipa_mhi_ready_ind), ipa_mhi_ready_ind),
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment