summaryrefslogtreecommitdiffstats
path: root/hcid/dbus.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2006-08-18 23:32:01 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2006-08-18 23:32:01 +0000
commit37726232053804e18cb5c34e6dec42a8427240a2 (patch)
tree1e27151d3cb420b2546a76710a77c2adcd3e6a77 /hcid/dbus.c
parent9f3d6b792cda3e1473112331c4aeb116906fc5a1 (diff)
Cancel agent requests on DEVDOWN
Diffstat (limited to 'hcid/dbus.c')
-rw-r--r--hcid/dbus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hcid/dbus.c b/hcid/dbus.c
index 696211d5..6e174ab3 100644
--- a/hcid/dbus.c
+++ b/hcid/dbus.c
@@ -635,6 +635,8 @@ int hcid_dbus_stop_device(uint16_t id)
/* check pending requests */
reply_pending_requests(path, pdata);
+ cancel_passkey_agent_requests(pdata->passkey_agents, path, NULL);
+
if (pdata->requestor_name) {
free(pdata->requestor_name);
pdata->requestor_name = NULL;