summaryrefslogtreecommitdiffstats
path: root/hcid/device.c
diff options
context:
space:
mode:
authorAlok Barsode <alok.barsode@azingo.com>2008-07-09 14:30:37 +0530
committerLuiz Augusto von Dentz <luiz.dentz@indt.org.br>2008-07-28 10:35:55 -0300
commit29227ad09e8996699e1b1d7e1c90d45fc80cab65 (patch)
tree5bf983c8f9dd1608194f7116ce091e6301086692 /hcid/device.c
parent491190e5dde601e4876f24a922f1ba16ae4d2e6d (diff)
Adding device_set_auth.
Signed-off-by: Alok Barsode <alok.barsode@azingo.com>
Diffstat (limited to 'hcid/device.c')
-rw-r--r--hcid/device.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/hcid/device.c b/hcid/device.c
index 0ab5d595..8de26cf1 100644
--- a/hcid/device.c
+++ b/hcid/device.c
@@ -994,6 +994,14 @@ void device_set_cap(struct device *device, uint8_t cap)
device->cap = cap;
}
+void device_set_auth(struct device *device, uint8_t auth)
+{
+ if (!device)
+ return;
+
+ device->auth = auth;
+}
+
int btd_register_device_driver(struct btd_device_driver *driver)
{
const char **uuid;