summaryrefslogtreecommitdiffstats
path: root/hcid/dbus.c
diff options
context:
space:
mode:
Diffstat (limited to 'hcid/dbus.c')
-rw-r--r--hcid/dbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/dbus.c b/hcid/dbus.c
index 90bbe7ea..4f30a42c 100644
--- a/hcid/dbus.c
+++ b/hcid/dbus.c
@@ -1078,7 +1078,7 @@ void hcid_dbus_setname_complete(bdaddr_t *local)
dd = hci_open_dev(id);
if (dd < 0) {
syslog(LOG_ERR, "HCI device open failed: hci%d", id);
- memset(&rq, 0, sizeof(rq));
+ memset(&rp, 0, sizeof(rp));
} else {
memset(&rq, 0, sizeof(rq));
rq.ogf = OGF_HOST_CTL;