summaryrefslogtreecommitdiffstats
path: root/src/device.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2009-01-16 13:20:07 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2009-01-16 13:20:07 +0200
commitf6646fcfe84b703d0657a0e827682702d64a4788 (patch)
treed9e2502a9351f277346dce9560f2eee79d296b8b /src/device.c
parentb5fe14e46c4351fe582f009de2f0b6d6834566e5 (diff)
Require MITM for dedicated bonding if the remote side is capable of it
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/device.c b/src/device.c
index 0ae81a02..7b3131ff 100644
--- a/src/device.c
+++ b/src/device.c
@@ -1380,6 +1380,11 @@ void device_set_cap(struct btd_device *device, uint8_t cap)
device->cap = cap;
}
+uint8_t device_get_cap(struct btd_device *device)
+{
+ return device->cap;
+}
+
void device_set_auth(struct btd_device *device, uint8_t auth)
{
if (!device)