summaryrefslogtreecommitdiffstats
path: root/src/dbus-hci.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbus-hci.c')
-rw-r--r--src/dbus-hci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbus-hci.c b/src/dbus-hci.c
index 6f9f1bc5..f2b6f2e5 100644
--- a/src/dbus-hci.c
+++ b/src/dbus-hci.c
@@ -239,7 +239,7 @@ int hcid_dbus_request_pin(int dev, bdaddr_t *sba, struct hci_conn_info *ci)
return -1;
}
- if (!adapter_pairing_initiator(adapter, sba) &&
+ if (!adapter_pairing_initiator(adapter, &ci->bdaddr) &&
!adapter_is_pairable(adapter))
return -EPERM;