diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2008-11-21 11:57:19 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2008-11-21 11:57:48 +0200 |
commit | 90b8cb5ed9510a70f91953a23745ab0d6bc078fd (patch) | |
tree | 219317398a01045ba8026f95415cdd98df8498fb /src | |
parent | f85760b45531dda34f493e3839535255920c397b (diff) |
Fix bdaddr parameter to adapter_pairing_initiator
Diffstat (limited to 'src')
-rw-r--r-- | src/dbus-hci.c | 2 |
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; |