git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bluetooth: fix endianness conversion in L2CAP
[pandora-kernel.git]
/
net
/
bluetooth
/
l2cap.c
diff --git
a/net/bluetooth/l2cap.c
b/net/bluetooth/l2cap.c
index
b3fb02a
..
cd8f6ea
100644
(file)
--- a/
net/bluetooth/l2cap.c
+++ b/
net/bluetooth/l2cap.c
@@
-2452,11
+2452,11
@@
static void l2cap_add_conf_opt(void **ptr, u8 type, u8 len, unsigned long val)
break;
case 2:
- put_unaligned_le16(
cpu_to_le16(val)
, opt->val);
+ put_unaligned_le16(
val
, opt->val);
break;
case 4:
- put_unaligned_le32(
cpu_to_le32(val)
, opt->val);
+ put_unaligned_le32(
val
, opt->val);
break;
default: