summaryrefslogtreecommitdiffstats
path: root/src/hci.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hci.c')
-rw-r--r--src/hci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hci.c b/src/hci.c
index dbfc8ba5..875ac9c2 100644
--- a/src/hci.c
+++ b/src/hci.c
@@ -1080,7 +1080,7 @@ int hci_send_req(int dd, struct hci_request *r, int to)
if (hdr->evt != r->event)
break;
- rn = r->rparam;
+ rn = (void *) ptr;
cp = r->cparam;
if (bacmp(&rn->bdaddr, &cp->bdaddr))