]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: don't pass tag value to ipa_cmd_ip_tag_status_add()
authorAlex Elder <elder@linaro.org>
Tue, 26 Jan 2021 18:57:02 +0000 (12:57 -0600)
committerJakub Kicinski <kuba@kernel.org>
Fri, 29 Jan 2021 04:23:26 +0000 (20:23 -0800)
commit475065a6cc0a1a8026106c451c3deabff81b3ffe
treeab5395eef1610e9cf390f70d97b42778eab17a32
parent0c871adc5980d0611f862d000ba0fdfb9d0300a6
net: ipa: don't pass tag value to ipa_cmd_ip_tag_status_add()

We only send a tagged packet from the AP->command TX endpoint when
we're clearing the hardware pipeline.  And when we receive the
tagged packet we don't care what the actual tag value is.

Stop passing a tag value to ipa_cmd_ip_tag_status_add(), and just
encode 0 as the tag sent.  Fix the function that encodes the tag so
it uses the proper byte ordering.

Signed-off-by: Alex Elder <elder@linaro.org>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ipa/ipa_cmd.c