caif: Don't resend if dev_queue_xmit fails.
authorSjur Brændeland <sjur.brandeland@stericsson.com>
Mon, 11 Apr 2011 10:43:51 +0000 (10:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Apr 2011 22:08:48 +0000 (15:08 -0700)
commit4dd820c088d201e526840c9dbc2f0b87a0a41868
treefac7a3a70bd32df3104ae6f1273a727fb0fa006f
parent73d6ac633c6c0ca703f90db0b808d9593e46aef6
caif: Don't resend if dev_queue_xmit fails.

If CAIF Link Layer returns an error, we no longer try to re-build the
CAIF packet and resend it. Instead, we simply return any transmission
errors to the socket client.

Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/caif/caif_dev.c
net/caif/caif_socket.c
net/caif/cfdgml.c
net/caif/cffrml.c
net/caif/cfmuxl.c
net/caif/cfserl.c
net/caif/cfutill.c
net/caif/cfveil.c
net/caif/cfvidl.c