Diff between 92d3e1b6f25ec09f59b3cf0e2600ba14f86aa0cc and c85d3d5747ba782074532ff1fac0d2fe7fcc160a
Changed Files
| File | Additions | Deletions | Status |
| emulator/btdev.c | +1 | -0 | modified |
Full Patch
diff --git a/emulator/btdev.c b/emulator/btdev.c
index d54bce5..556297d 100644
--- a/emulator/btdev.c
+++ b/emulator/btdev.c
@@ -988,6 +988,7 @@ static void link_key_notify(struct btdev *btdev, const uint8_t *bdaddr,
memcpy(ev.bdaddr, bdaddr, 6);
memcpy(ev.link_key, key, 16);
+ /* FIXME: set correct key type */
ev.key_type = 0x00;
send_event(btdev, BT_HCI_EVT_LINK_KEY_NOTIFY, &ev, sizeof(ev));