summary refs log tree commit diff
path: root/include/net/bluetooth/rfcomm.h
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 /include/net/bluetooth/rfcomm.h
parent1bc5d4483a83349f143e2bbf23ec144cd7e21e89 (diff)
downloadlinux-6ba9c755e5f044c6a37296481bf6a861e4193a37.tar.gz
[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 'include/net/bluetooth/rfcomm.h')
-rw-r--r--include/net/bluetooth/rfcomm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/bluetooth/rfcomm.h b/include/net/bluetooth/rfcomm.h
index 89d743cfdfdf..3c563f02907c 100644
--- a/include/net/bluetooth/rfcomm.h
+++ b/include/net/bluetooth/rfcomm.h
@@ -124,7 +124,7 @@ struct rfcomm_pn {
 	u8  flow_ctrl;
 	u8  priority;
 	u8  ack_timer;
-	u16 mtu;
+	__le16 mtu;
 	u8  max_retrans;
 	u8  credits;
 } __attribute__ ((packed));
@@ -136,7 +136,7 @@ struct rfcomm_rpn {
 	u8  flow_ctrl;
 	u8  xon_char;
 	u8  xoff_char;
-	u16 param_mask;
+	__le16 param_mask;
 } __attribute__ ((packed));
 
 struct rfcomm_rls {