summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-01-14 23:31:44 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-01-14 23:31:44 +0100
commitf9cd44bca667448d5c69477c9fd5d9df37acfff1 (patch)
tree01a2a91381f194699bfb8329d982612bbfe4f626 /include
parent4f9c2cb5e002a12713898b83c5f1ce8093630e27 (diff)
Use different socket option numbers to deal with old kernels
Diffstat (limited to 'include')
-rw-r--r--include/bluetooth.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/bluetooth.h b/include/bluetooth.h
index eeb0e49d..b0b23a4c 100644
--- a/include/bluetooth.h
+++ b/include/bluetooth.h
@@ -59,7 +59,7 @@ extern "C" {
#define SOL_BLUETOOTH 274
#endif
-#define BT_SECURITY 3
+#define BT_SECURITY 4
struct bt_security {
uint8_t level;
};
@@ -68,7 +68,7 @@ struct bt_security {
#define BT_SECURITY_MEDIUM 2
#define BT_SECURITY_HIGH 3
-#define BT_DEFER_SETUP 5
+#define BT_DEFER_SETUP 7
/* Connection and socket states */
enum {