This email list is read-only. Emails sent to this list will be discarded ---------------------------------- plugins/bluetooth.c | 6 +++++- plugins/wifi.c | 5 +++++ 2 files changed, 10 insertions(+), 1 deletions(-)
New commits: commit 8a903a3696cc93c7828bea9f098896ca9c410418 Author: Marcel Holtmann <[email protected]> Date: Wed Dec 17 16:01:42 2008 +0100 Handle failure of device registration commit fb650756bce388463c83a0cfb5ef2b955537c38f Author: Marcel Holtmann <[email protected]> Date: Wed Dec 17 15:58:59 2008 +0100 Indicate scanning state while not associated Diff in this email is a maximum of 400 lines. diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c index 8c83a98..6b0f05c 100644 --- a/plugins/bluetooth.c +++ b/plugins/bluetooth.c @@ -243,7 +243,11 @@ static void add_adapter(DBusConnection *connection, const char *path) device->name = g_path_get_basename(path); - connman_element_register(device, NULL); + if (connman_element_register(device, NULL) < 0) { + connman_element_unref(device); + return; + } + device_list = g_slist_append(device_list, device); message = dbus_message_new_method_call(BLUEZ_SERVICE, path, diff --git a/plugins/wifi.c b/plugins/wifi.c index be2358c..aa6021d 100644 --- a/plugins/wifi.c +++ b/plugins/wifi.c @@ -217,6 +217,11 @@ static void state_change(struct connman_element *device, DBG("state %d", state); + if (state == STATE_SCANNING) + connman_element_set_scanning(device, TRUE); + else + connman_element_set_scanning(device, FALSE); + if (data == NULL) return; _______________________________________________ Commits mailing list [email protected] https://lists.moblin.org/mailman/listinfo/commits
