From ee054b5500ecbb56672e1c2674167b295d489c2c Mon Sep 17 00:00:00 2001 From: Claudio Takahasi Date: Mon, 4 Sep 2006 20:33:44 +0000 Subject: Fixed CancelDiscovery --- hcid/dbus.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'hcid/dbus.c') diff --git a/hcid/dbus.c b/hcid/dbus.c index b9d5d905..23bd4f32 100644 --- a/hcid/dbus.c +++ b/hcid/dbus.c @@ -85,7 +85,7 @@ void bonding_request_free(struct bonding_request_info *dev ) } } -static int disc_device_find(const struct discovered_dev_info *d1, const struct discovered_dev_info *d2) +int disc_device_find(const struct discovered_dev_info *d1, const struct discovered_dev_info *d2) { int ret; @@ -909,6 +909,9 @@ int disc_device_req_name(struct hci_dbus_data *dbus_data) /* send at least one request or return failed if the list is empty */ do { + /* flag to indicate the current remote name requested */ + dev->name_status = NAME_REQUESTED; + req_sent = 1; memset(&cp, 0, sizeof(cp)); -- cgit