From f9cd44bca667448d5c69477c9fd5d9df37acfff1 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 14 Jan 2009 23:31:44 +0100 Subject: Use different socket option numbers to deal with old kernels --- include/bluetooth.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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 { -- cgit