summaryrefslogtreecommitdiffstats
path: root/net/bluetooth
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-11-08 00:28:19 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-02 21:21:29 -0800
commit6ba9c755e5f044c6a37296481bf6a861e4193a37 (patch)
treed6b9b656ca6e7b397a3a2f843ebe7ab26e2c1a19 /net/bluetooth
parent1bc5d4483a83349f143e2bbf23ec144cd7e21e89 (diff)
downloadkernel-crypto-6ba9c755e5f044c6a37296481bf6a861e4193a37.tar.gz
kernel-crypto-6ba9c755e5f044c6a37296481bf6a861e4193a37.tar.xz
kernel-crypto-6ba9c755e5f044c6a37296481bf6a861e4193a37.zip
[BLUETOOTH]: rfcomm endianness annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bluetooth')
-rw-r--r--net/bluetooth/rfcomm/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/rfcomm/core.c b/net/bluetooth/rfcomm/core.c
index ddc4e9d5963..f3e5b7e2e04 100644
--- a/net/bluetooth/rfcomm/core.c
+++ b/net/bluetooth/rfcomm/core.c
@@ -1018,7 +1018,7 @@ static void rfcomm_make_uih(struct sk_buff *skb, u8 addr)
if (len > 127) {
hdr = (void *) skb_push(skb, 4);
- put_unaligned(htobs(__len16(len)), (u16 *) &hdr->len);
+ put_unaligned(htobs(__len16(len)), (__le16 *) &hdr->len);
} else {
hdr = (void *) skb_push(skb, 3);
hdr->len = __len8(len);