diff --git a/doc/settings-storage.txt b/doc/settings-storage.txt
index e55b371..a3b58e6 100644
--- a/doc/settings-storage.txt
+++ b/doc/settings-storage.txt
Discoverable Boolean Discoverability of the adapter
- Pairable Boolean Can the adapter accept pairing
- request ?
-
PairableTimeout Integer How long to stay in pairable mode
before going back to non-pairable.
The value is in seconds.
diff --git a/src/adapter.c b/src/adapter.c
index b7afe99..d996257 100644
--- a/src/adapter.c
+++ b/src/adapter.c
char address[18];
char str[MAX_NAME_LENGTH + 1];
char config_path[PATH_MAX + 1];
- gboolean flag;
int timeout;
uint8_t mode;
char *data;
snprintf(config_path, PATH_MAX, STORAGEDIR "/%s/config", address);
config_path[PATH_MAX] = '\0';
- if (read_device_pairable(&adapter->bdaddr, &flag) == 0)
- g_key_file_set_boolean(key_file, "General", "Pairable", flag);
-
if (read_pairable_timeout(address, &timeout) == 0)
g_key_file_set_integer(key_file, "General",
"PairableTimeout", timeout);