diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2008-01-28 10:38:40 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2008-01-28 10:38:40 +0000 |
commit | ba255beb79afb9c00ae5b71821f84f911aa8d1fe (patch) | |
tree | 66707895eb4596df0e8054052f95f07560927e2f /hcid/adapter.c | |
parent | d352bd04383f1c1a5ec17e267cb8d0ce70720519 (diff) |
Whitespace cleanup
Diffstat (limited to 'hcid/adapter.c')
-rw-r--r-- | hcid/adapter.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/hcid/adapter.c b/hcid/adapter.c index c3fa8d1c..08fecda7 100644 --- a/hcid/adapter.c +++ b/hcid/adapter.c @@ -1845,7 +1845,7 @@ static DBusHandlerResult adapter_clear_remote_alias(DBusConnection *conn, str2ba(addr_ptr, &bdaddr); ecode = get_device_alias(adapter->dev_id, &bdaddr, NULL, 0); - if (ecode == -ENXIO) + if (ecode == -ENXIO) had_alias = 0; ecode = set_device_alias(adapter->dev_id, &bdaddr, NULL); @@ -2820,10 +2820,8 @@ static DBusHandlerResult adapter_cancel_discovery(DBusConnection *conn, strcmp(adapter->discov_requestor, dbus_message_get_sender(msg))) return error_not_authorized(conn, msg); - /* - * Cleanup the discovered devices list and send the cmd - * to cancel inquiry or cancel remote name request - */ + /* Cleanup the discovered devices list and send the cmd to cancel + * inquiry or cancel remote name request */ err = cancel_discovery(adapter); if (err < 0) { if (err == -ENODEV) |