projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: caif: fix erroneous return value
[cascardo/linux.git]
/
net
/
caif
/
cfrfml.c
diff --git
a/net/caif/cfrfml.c
b/net/caif/cfrfml.c
index
61d7617
..
b82440e
100644
(file)
--- a/
net/caif/cfrfml.c
+++ b/
net/caif/cfrfml.c
@@
-159,7
+159,7
@@
static int cfrfml_receive(struct cflayer *layr, struct cfpkt *pkt)
tmppkt = NULL;
/* Verify that length is correct */
- err = EPROTO;
+ err =
-
EPROTO;
if (rfml->pdu_size != cfpkt_getlen(pkt) - RFM_HEAD_SIZE + 1)
goto out;
}