diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2006-08-18 23:32:01 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2006-08-18 23:32:01 +0000 |
commit | 37726232053804e18cb5c34e6dec42a8427240a2 (patch) | |
tree | 1e27151d3cb420b2546a76710a77c2adcd3e6a77 /hcid/dbus.c | |
parent | 9f3d6b792cda3e1473112331c4aeb116906fc5a1 (diff) |
Cancel agent requests on DEVDOWN
Diffstat (limited to 'hcid/dbus.c')
-rw-r--r-- | hcid/dbus.c | 2 |
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; |