summaryrefslogtreecommitdiffstats
path: root/hcid/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'hcid/device.c')
-rw-r--r--hcid/device.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/hcid/device.c b/hcid/device.c
index 8de26cf1..8d63590c 100644
--- a/hcid/device.c
+++ b/hcid/device.c
@@ -1002,6 +1002,11 @@ void device_set_auth(struct device *device, uint8_t auth)
device->auth = auth;
}
+uint8_t device_get_auth(struct device *device)
+{
+ return device->auth;
+}
+
int btd_register_device_driver(struct btd_device_driver *driver)
{
const char **uuid;