summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/bnep/bnep.h
diff options
context:
space:
mode:
authorAl Viro2006-11-08 09:27:57 +0100
committerDavid S. Miller2006-12-03 06:21:28 +0100
commit1bc5d4483a83349f143e2bbf23ec144cd7e21e89 (patch)
tree9e20b3310ca8cbc2b04d12b481c84312afdd4474 /net/bluetooth/bnep/bnep.h
parent[BLUETOOTH] bnep endianness bug: filtering by packet type (diff)
downloadkernel-qcow2-linux-1bc5d4483a83349f143e2bbf23ec144cd7e21e89.tar.gz
kernel-qcow2-linux-1bc5d4483a83349f143e2bbf23ec144cd7e21e89.tar.xz
kernel-qcow2-linux-1bc5d4483a83349f143e2bbf23ec144cd7e21e89.zip
[BLUETOOTH]: bnep 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/bnep/bnep.h')
-rw-r--r--net/bluetooth/bnep/bnep.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bluetooth/bnep/bnep.h b/net/bluetooth/bnep/bnep.h
index bbb1ed7097a9..0b6cd0e2528d 100644
--- a/net/bluetooth/bnep/bnep.h
+++ b/net/bluetooth/bnep/bnep.h
@@ -95,14 +95,14 @@ struct bnep_setup_conn_req {
struct bnep_set_filter_req {
__u8 type;
__u8 ctrl;
- __u16 len;
+ __be16 len;
__u8 list[0];
} __attribute__((packed));
struct bnep_control_rsp {
__u8 type;
__u8 ctrl;
- __u16 resp;
+ __be16 resp;
} __attribute__((packed));
struct bnep_ext_hdr {