summaryrefslogtreecommitdiffstats
path: root/hcid/dbus.c
diff options
context:
space:
mode:
Diffstat (limited to 'hcid/dbus.c')
-rw-r--r--hcid/dbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/dbus.c b/hcid/dbus.c
index a0218f48..59760bca 100644
--- a/hcid/dbus.c
+++ b/hcid/dbus.c
@@ -1145,7 +1145,7 @@ void hcid_dbus_inquiry_complete(bdaddr_t *local)
* Enable resolution again: standard inquiry can be
* received in the periodic inquiry idle state.
*/
- if (adapter->pdiscov_requestor)
+ if (adapter->pdiscov_requestor && adapter->pdiscov_resolve_names)
adapter->discov_type |= RESOLVE_NAME;
/*