diff options
Diffstat (limited to 'hcid/dbus-security.c')
-rw-r--r-- | hcid/dbus-security.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/dbus-security.c b/hcid/dbus-security.c index 8a16373d..6d510587 100644 --- a/hcid/dbus-security.c +++ b/hcid/dbus-security.c @@ -1334,7 +1334,7 @@ void release_passkey_agents(struct adapter *adapter, bdaddr_t *bda) for (l = adapter->passkey_agents; l != NULL; l = next) { struct passkey_agent *agent = l->data; next = l->next; - + if (bda && agent->addr) { bdaddr_t tmp; str2ba(agent->addr, &tmp); |