diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2006-10-05 14:01:47 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2006-10-05 14:01:47 +0000 |
commit | 2b275bebdf4c5a9c85dfe847279b9bb68fc22cb7 (patch) | |
tree | 719b2348d194264622e4be866335355d6b2cc3e4 /hcid/dbus.c | |
parent | 7e67b8266268dde84711740bceb373c4c271f3eb (diff) |
Make audit queuing more sensible with many devices around
Diffstat (limited to 'hcid/dbus.c')
-rw-r--r-- | hcid/dbus.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/hcid/dbus.c b/hcid/dbus.c index 689ce46f..89de4054 100644 --- a/hcid/dbus.c +++ b/hcid/dbus.c @@ -1058,7 +1058,8 @@ void hcid_dbus_inquiry_complete(bdaddr_t *local) id = hci_devid(local_addr); if (id < 0) { error("No matching device id for %s", local_addr); - goto done; + bt_free(local_addr); + return; } snprintf(path, sizeof(path), "%s/hci%d", BASE_PATH, id); @@ -1141,6 +1142,9 @@ void hcid_dbus_inquiry_complete(bdaddr_t *local) } done: + /* Proceed with any queued up audits */ + process_audits_list(path); + bt_free(local_addr); } |