]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: fix a duplicated tlv_type value
authorAlex Elder <elder@linaro.org>
Mon, 15 Mar 2021 15:21:10 +0000 (10:21 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Mar 2021 18:17:59 +0000 (11:17 -0700)
commitfb2713c8c2485c4b204751e5789a9cd9cd3ce91c
treea3b967ae8456178fda42c3ff7f05cd5f8a3ab56a
parent0b99228f6b820b7d6b474863889ff67fe56b6158
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: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Alex Elder <elder@linaro.org>
Acked-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/ipa_qmi_msg.c