diff options
author | Alok Barsode <alok.barsode@azingo.com> | 2008-07-09 14:34:35 +0530 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@indt.org.br> | 2008-07-28 10:36:07 -0300 |
commit | 2203f153c53189ec1c30df99b717e035681196e6 (patch) | |
tree | bb4fea2d6320c154d34c11f71345e6aedb3896e5 /hcid/device.c | |
parent | 29227ad09e8996699e1b1d7e1c90d45fc80cab65 (diff) |
Adding device_get_auth.
Signed-off-by: Alok Barsode <alok.barsode@azingo.com>
Diffstat (limited to 'hcid/device.c')
-rw-r--r-- | hcid/device.c | 5 |
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; |