Diff between c1902726cbad2571051e47e3650a5100fa60863b and 05236fa2afd1388cae6834770c8bbdb196da7220
Changed Files
| File | Additions | Deletions | Status |
| android/bluetooth.c | +1 | -1 | modified |
Full Patch
diff --git a/android/bluetooth.c b/android/bluetooth.c
index 563a743..a8d85ce 100644
--- a/android/bluetooth.c
+++ b/android/bluetooth.c
@@ -2318,7 +2318,7 @@ static void load_ltks(GSList *ltks)
cp->key_count = htobs(ltk_count);
for (l = ltks, ltk = cp->keys; l != NULL; l = g_slist_next(l), ltk++)
- memcpy(ltk, ltks->data, sizeof(*ltk));
+ memcpy(ltk, l->data, sizeof(*ltk));
if (mgmt_send(mgmt_if, MGMT_OP_LOAD_LONG_TERM_KEYS, adapter.index,
cp_size, cp, load_ltk_complete, NULL, NULL) == 0)