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)
commit792b75b14786bae709124615a58a474ded15aa7c
treeab5395eef1610e9cf390f70d97b42778eab17a32
parent51c48ce264f85919b263a38e4defa50b80928877
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