From 7d3a60724776cddaa36f213fb7d0f313f784137e Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Tue, 3 Dec 2013 11:16:00 +0200 Subject: [PATCH] lib: Add missing BT_POWER socket option defines --- lib/bluetooth.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/bluetooth.h b/lib/bluetooth.h index 012fde40d..0baa05c3b 100644 --- a/lib/bluetooth.h +++ b/lib/bluetooth.h @@ -77,6 +77,13 @@ struct bt_security { #define BT_FLUSHABLE_OFF 0 #define BT_FLUSHABLE_ON 1 +#define BT_POWER 9 +struct bt_power { + uint8_t force_active; +}; +#define BT_POWER_FORCE_ACTIVE_OFF 0 +#define BT_POWER_FORCE_ACTIVE_ON 1 + #define BT_CHANNEL_POLICY 10 /* BR/EDR only (default policy) -- 2.47.3