From 2203f153c53189ec1c30df99b717e035681196e6 Mon Sep 17 00:00:00 2001 From: Alok Barsode Date: Wed, 9 Jul 2008 14:34:35 +0530 Subject: Adding device_get_auth. Signed-off-by: Alok Barsode --- hcid/dbus-hci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hcid/dbus-hci.c') diff --git a/hcid/dbus-hci.c b/hcid/dbus-hci.c index 91c0a584..389a0b56 100644 --- a/hcid/dbus-hci.c +++ b/hcid/dbus-hci.c @@ -977,7 +977,7 @@ int hcid_dbus_user_confirm(bdaddr_t *sba, bdaddr_t *dba, uint32_t passkey) } /* If no MITM protection required, auto-accept */ - if (!(device->auth & 0x01) && !(type & 0x01)) { + if (!(device_get_auth(device) & 0x01) && !(type & 0x01)) { int dd; dd = hci_open_dev(adapter->dev_id); -- cgit