summaryrefslogtreecommitdiffstats
path: root/hcid/dbus.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2006-10-13 08:29:25 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2006-10-13 08:29:25 +0000
commit9e397e899dae2472b34cd37ecfa79a8af0f2d985 (patch)
treeed58241a9b05d40d5070d01d42996ce3d870d9c7 /hcid/dbus.c
parentffbc7a393be48f20b74d67f39efc432648a11a04 (diff)
Keep periodic discovery name resolving setting also after the first period
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;
/*