projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57d3b22
)
Bluetooth: Fix error value for wrong FCS.
author
João Paulo Rechi Vita
<jprvita@profusion.mobi>
Tue, 22 Jun 2010 16:56:27 +0000
(13:56 -0300)
committer
Marcel Holtmann
<marcel@holtmann.org>
Wed, 21 Jul 2010 17:39:10 +0000
(10:39 -0700)
Signed-off-by: João Paulo Rechi Vita <jprvita@profusion.mobi>
Acked-by: Gustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap.c
patch
|
blob
|
history
diff --git
a/net/bluetooth/l2cap.c
b/net/bluetooth/l2cap.c
index
58c81cb
..
de545f1
100644
(file)
--- a/
net/bluetooth/l2cap.c
+++ b/
net/bluetooth/l2cap.c
@@
-3423,7
+3423,7
@@
static int l2cap_check_fcs(struct l2cap_pinfo *pi, struct sk_buff *skb)
our_fcs = crc16(0, skb->data - hdr_size, skb->len + hdr_size);
if (our_fcs != rcv_fcs)
- return -E
INVAL
;
+ return -E
BADMSG
;
}
return 0;
}