diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-12-20 10:32:58 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-12-20 10:32:58 +0100 |
commit | 436cd80e58c945fe52e70c2baae25dfa69291373 (patch) | |
tree | f7dd65493280a8b9940f976dde00c385cddb84c9 /src | |
parent | 8dccb974d9762ea535c5a2bb07e889cb6dc34c28 (diff) |
Send DefaultAdapterChanged signal before any properties
Diffstat (limited to 'src')
-rw-r--r-- | src/manager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/manager.c b/src/manager.c index 7849b64b..f9263ae8 100644 --- a/src/manager.c +++ b/src/manager.c @@ -433,13 +433,13 @@ static void manager_add_adapter(struct btd_adapter *adapter) DBUS_TYPE_OBJECT_PATH, &path, DBUS_TYPE_INVALID); - manager_update_adapters(); - if (default_adapter_id < 0) { int new_default = hci_get_route(NULL); manager_set_default_adapter(new_default); } + + manager_update_adapters(); } static void manager_remove_adapter(struct btd_adapter *adapter) |