summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2003-07-03 00:06:26 +0000
committerMarcel Holtmann <marcel@holtmann.org>2003-07-03 00:06:26 +0000
commitb45841191f6ab4cc55ccd040a5530c2d08c6ddc6 (patch)
treef6b61a456c80bbe481e40b2334991fccb2d7943a
parent630afac09ee16b0e398b2ab87beba55dec8d7f89 (diff)
Cleanup
-rw-r--r--include/bluetooth.h16
-rw-r--r--include/l2cap.h4
-rw-r--r--include/sco.h8
3 files changed, 14 insertions, 14 deletions
diff --git a/include/bluetooth.h b/include/bluetooth.h
index c09e99d4..1667fd12 100644
--- a/include/bluetooth.h
+++ b/include/bluetooth.h
@@ -37,23 +37,23 @@ extern "C" {
#include <endian.h>
#include <byteswap.h>
#include <string.h>
-
+
#ifndef AF_BLUETOOTH
#define AF_BLUETOOTH 31
#define PF_BLUETOOTH AF_BLUETOOTH
#endif
-#define BTPROTO_L2CAP 0
-#define BTPROTO_HCI 1
-#define BTPROTO_SCO 2
+#define BTPROTO_L2CAP 0
+#define BTPROTO_HCI 1
+#define BTPROTO_SCO 2
#define BTPROTO_RFCOMM 3
#define BTPROTO_BNEP 4
#define BTPROTO_CMTP 5
-#define SOL_HCI 0
-#define SOL_L2CAP 6
-#define SOL_SCO 17
-#define SOL_RFCOMM 18
+#define SOL_HCI 0
+#define SOL_L2CAP 6
+#define SOL_SCO 17
+#define SOL_RFCOMM 18
/* Connection and socket states */
enum {
diff --git a/include/l2cap.h b/include/l2cap.h
index dec00efc..a5110a24 100644
--- a/include/l2cap.h
+++ b/include/l2cap.h
@@ -34,7 +34,7 @@ extern "C" {
#endif
/* L2CAP defaults */
-#define L2CAP_DEFAULT_MTU 672
+#define L2CAP_DEFAULT_MTU 672
#define L2CAP_DEFAULT_FLUSH_TO 0xFFFF
#define L2CAP_CONN_TIMEOUT (HZ * 40)
@@ -54,7 +54,7 @@ struct l2cap_options {
uint16_t flush_to;
};
-#define L2CAP_CONNINFO 0x02
+#define L2CAP_CONNINFO 0x02
struct l2cap_conninfo {
uint16_t hci_handle;
};
diff --git a/include/sco.h b/include/sco.h
index c02bd7ae..d8bc54b6 100644
--- a/include/sco.h
+++ b/include/sco.h
@@ -34,10 +34,10 @@ extern "C" {
#endif
/* SCO defaults */
-#define SCO_DEFAULT_MTU 500
+#define SCO_DEFAULT_MTU 500
#define SCO_DEFAULT_FLUSH_TO 0xFFFF
-#define SCO_CONN_TIMEOUT (HZ * 40)
+#define SCO_CONN_TIMEOUT (HZ * 40)
#define SCO_DISCONN_TIMEOUT (HZ * 2)
#define SCO_CONN_IDLE_TIMEOUT (HZ * 60)
@@ -48,12 +48,12 @@ struct sockaddr_sco {
};
/* set/get sockopt defines */
-#define SCO_OPTIONS 0x01
+#define SCO_OPTIONS 0x01
struct sco_options {
uint16_t mtu;
};
-#define SCO_CONNINFO 0x02
+#define SCO_CONNINFO 0x02
struct sco_conninfo {
uint16_t hci_handle;
};