summaryrefslogtreecommitdiffstats
path: root/hcid
diff options
context:
space:
mode:
Diffstat (limited to 'hcid')
-rw-r--r--hcid/dbus.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/hcid/dbus.c b/hcid/dbus.c
index 8205b066..8f0217ec 100644
--- a/hcid/dbus.c
+++ b/hcid/dbus.c
@@ -1374,12 +1374,6 @@ static DBusMessage* handle_inq_req(DBusMessage *msg, void *data)
goto failed;
}
- if (rp.status) {
- syslog(LOG_ERR, "Inquiry command failed with status 0x%02X", rp.status);
- reply = bluez_new_failure_msg(msg, BLUEZ_ESYSTEM_OFFSET + EIO);
- goto failed;
- }
-
reply = dbus_message_new_method_return(msg);
failed:
@@ -1496,12 +1490,6 @@ static DBusMessage* handle_remote_name_req(DBusMessage *msg, void *data)
goto failed;
}
- if (rp.status) {
- syslog(LOG_ERR, "Remote name command failed with status 0x%02X", rp.status);
- reply = bluez_new_failure_msg(msg, BLUEZ_ESYSTEM_OFFSET + EIO);
- goto failed;
- }
-
reply = dbus_message_new_method_return(msg);
failed:
@@ -1655,12 +1643,6 @@ static DBusMessage* handle_auth_req(DBusMessage *msg, void *data)
goto failed;
}
- if (rp.status) {
- syslog(LOG_ERR, "Authentication command failed with status 0x%02X", rp.status);
- reply = bluez_new_failure_msg(msg, BLUEZ_ESYSTEM_OFFSET + EIO);
- goto failed;
- }
-
failed:
if (sock >= 0)
close(sock);