Diff between 8eb00c20f03b7a84930a32185b763f09a0c79ca3 and 36ca1992d4b95a8fe0490eedc91f2bac5e117e0c
Changed Files
| File | Additions | Deletions | Status |
| plugins/mgmtops.c | +0 | -4 | modified |
Full Patch
diff --git a/plugins/mgmtops.c b/plugins/mgmtops.c
index 7e47386..d354bc6 100644
--- a/plugins/mgmtops.c
+++ b/plugins/mgmtops.c
@@ -1958,8 +1958,6 @@ static int mgmt_load_link_keys(int index, GSList *keys, gboolean debug_keys)
if (buf == NULL)
return -ENOMEM;
- memset(buf, 0, sizeof(buf));
-
hdr = (void *) buf;
hdr->opcode = htobs(MGMT_OP_LOAD_LINK_KEYS);
hdr->len = htobs(cp_size);
@@ -2169,8 +2167,6 @@ static int mgmtops_load_ltks(int index, GSList *keys)
if (buf == NULL)
return -ENOMEM;
- memset(buf, 0, sizeof(buf));
-
hdr = (void *) buf;
hdr->opcode = htobs(MGMT_OP_LOAD_LONG_TERM_KEYS);
hdr->len = htobs(cp_size);