summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-11-25 12:41:14 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-11-25 12:41:14 +0000
commit6c33a52af7bb9bd45c2526265e0ec91ac3f994c0 (patch)
tree32deecac70c13a52023d7183ee9c4010f0873a47
parentea66d4c5353160087ff0cb4c6a1014c5fdd1cffc (diff)
downloadbluez-6c33a52af7bb9bd45c2526265e0ec91ac3f994c0.tar.gz
Fix remote name request handling bug
-rw-r--r--src/hci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hci.c b/src/hci.c
index dbfc8ba5f..875ac9c2b 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))