aboutsummaryrefslogtreecommitdiffstats
path: root/src/adapter.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-02-09 14:06:04 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-02-09 17:24:26 +0200
commitea098a5aef730f038a63f4d21401a3e9694ff124 (patch)
treef16fd0aa0285cd248cc078bf431a5a005694caf9 /src/adapter.c
parent07c33a2dd0149820fa409b570dfc6b05cc932a0a (diff)
downloadbluez-ea098a5aef730f038a63f4d21401a3e9694ff124.tar.gz
bluez-ea098a5aef730f038a63f4d21401a3e9694ff124.tar.xz
bluez-ea098a5aef730f038a63f4d21401a3e9694ff124.zip
adapter_ops: Add address type to remove_bonding()
Diffstat (limited to 'src/adapter.c')
-rw-r--r--src/adapter.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/adapter.c b/src/adapter.c
index 89f6ca72..e7c71b0b 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -3514,9 +3514,10 @@ int btd_adapter_disconnect_device(struct btd_adapter *adapter, bdaddr_t *bdaddr)
return adapter_ops->disconnect(adapter->dev_id, bdaddr);
}
-int btd_adapter_remove_bonding(struct btd_adapter *adapter, bdaddr_t *bdaddr)
+int btd_adapter_remove_bonding(struct btd_adapter *adapter, bdaddr_t *bdaddr,
+ addr_type_t type)
{
- return adapter_ops->remove_bonding(adapter->dev_id, bdaddr);
+ return adapter_ops->remove_bonding(adapter->dev_id, bdaddr, type);
}
int btd_adapter_pincode_reply(struct btd_adapter *adapter, bdaddr_t *bdaddr,