summaryrefslogtreecommitdiff
path: root/drivers/net/caif/caif_spi_slave.c
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2012-10-22 10:56:33 +0000
committerDavid S. Miller <davem@davemloft.net>2012-10-23 02:40:10 -0400
commitff06ab13a4ccae4acb44a2d4e3ece367b616ab50 (patch)
treef67ff98b22fa8e9cec3c38aff6253f2b181e54bd /drivers/net/caif/caif_spi_slave.c
parent75d67d354f7c9bcaaee3dd30a627d8e34d068205 (diff)
net: cdc_ncm: splitting rx_fixup for code reuse
Verifying and handling received MBIM and NCM frames will need to be different in three areas: - verifying the NDP signature - checking valid datagram length - datagram header manipulation This makes it inconvenient to share rx_fixup in whole. But some verification parts are common. Split these out in separate functions. Signed-off-by: Bjørn Mork <bjorn@mork.no> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/caif/caif_spi_slave.c')
0 files changed, 0 insertions, 0 deletions