summaryrefslogtreecommitdiff
path: root/drivers/net/ipa/ipa_modem.c
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2022-05-19 10:12:13 -0500
committerDavid S. Miller <davem@davemloft.net>2022-05-20 11:12:23 +0100
commit332ef7c814bdd60f08d0d9013d0e1104798b2d23 (patch)
tree5628679ac149fac98149568c390c054ef918f6df /drivers/net/ipa/ipa_modem.c
parentc9d92cf28c0cda6e3bd76b75e6e343b86075cd2d (diff)
net: ipa: ignore endianness if there is no header
If we program an RX endpoint to have no header (header length is 0), header-related endpoint configuration values are meaningless and are ignored. The only case we support that defines a header is QMAP endpoints. In ipa_endpoint_init_hdr_ext() we set the endianness mask value unconditionally, but it should not be done if there is no header (meaning it is not configured for QMAP). Set the endianness conditionally, and rearrange the logic in that function slightly to avoid testing the qmap flag twice. Delete an incorrect comment in ipa_endpoint_init_aggr(). Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ipa/ipa_modem.c')
0 files changed, 0 insertions, 0 deletions