summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-adapter.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2006-04-19 16:39:48 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2006-04-19 16:39:48 +0000
commit66ee11f572972796398b5cb541398ee754cc0995 (patch)
tree13a3254f51bc1b1480c0cd3f82766dac245a5a65 /hcid/dbus-adapter.c
parent9575f385006817d43cdd5bacadd0b37f2e02bc9a (diff)
Store device mode settings
Diffstat (limited to 'hcid/dbus-adapter.c')
-rw-r--r--hcid/dbus-adapter.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hcid/dbus-adapter.c b/hcid/dbus-adapter.c
index ee09ab8f..7c3bcfe9 100644
--- a/hcid/dbus-adapter.c
+++ b/hcid/dbus-adapter.c
@@ -395,6 +395,8 @@ static DBusHandlerResult handle_dev_set_discoverable_to_req(DBusConnection *conn
dbus_data->discoverable_timeout = timeout;
+ write_discoverable_timeout(dbus_data->address, timeout);
+
return send_reply_and_unref(conn, reply);
}