diff options
author | Luiz Augusto von Dentz <luiz.dentz@indt.org.br> | 2008-08-29 18:14:39 -0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@indt.org.br> | 2008-08-29 18:14:39 -0300 |
commit | 75c562d773e5fe37f4257631318d7f918edc5b53 (patch) | |
tree | 1c66fc1385b06866294ca846515a5b591bc35fb8 /src/main.c | |
parent | 92dcfff75cea59c9e4c65ab2b1d45730a9076a6a (diff) |
Make DiscoverDevices to create discover sessions.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -169,6 +169,18 @@ static void parse_config(GKeyFile *config) g_free(str); } + val = g_key_file_get_integer(config, "General", + "DiscoverSchedulerInterval", + &err); + if (err) { + debug("%s", err->message); + g_error_free(err); + err = NULL; + } else { + debug("inqmode=%d", val); + default_device.inqmode = val; + } + default_device.link_mode = HCI_LM_ACCEPT; default_device.flags |= (1 << HCID_SET_LM); |