aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils/src/edimax_fw_header.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/firmware-utils/src/edimax_fw_header.c')
-rw-r--r--tools/firmware-utils/src/edimax_fw_header.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/firmware-utils/src/edimax_fw_header.c b/tools/firmware-utils/src/edimax_fw_header.c
index ff094da1ad..b85e3a1781 100644
--- a/tools/firmware-utils/src/edimax_fw_header.c
+++ b/tools/firmware-utils/src/edimax_fw_header.c
@@ -281,7 +281,7 @@ static int build_fw(void)
/* fill firmware header */
hdr = (struct edimax_header *)buf;
- memset(hdr, 0, sizeof(struct edimax_header *));
+ memset(hdr, 0, sizeof(struct edimax_header));
strncpy(hdr->model, model, sizeof(hdr->model));
strncpy(hdr->magic, magic, sizeof(hdr->magic));