Jiajia Liu
ddb249341d
Bluetooth: btmtk: remove extra copy in cmd array init
...
In btmtk_setup_firmware_79xx, the data length indicated by wmt_params.dlen
in the cmd buffer is MTK_SEC_MAP_NEED_SEND_SIZE + 1. Except for the first
byte, the remaining length is MTK_SEC_MAP_NEED_SEND_SIZE. memcpy copied one
more byte to cmd + 1 than the remaining length. Align the length passed to
memcpy to avoid exceeding current section map.
Signed-off-by: Jiajia Liu <liujiajia@kylinos.cn >
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com >
2026-06-11 14:24:39 -04:00
..
2024-10-02 17:23:23 -04:00
2022-03-18 17:12:09 +01:00
2025-07-16 15:37:53 -04:00
2026-02-21 17:09:51 -08:00
2026-04-10 10:22:21 -04:00
2022-07-21 17:04:38 -07:00
2026-06-11 14:24:37 -04:00
2026-06-11 14:24:37 -04:00
2026-06-11 14:24:37 -04:00
2026-06-11 14:24:37 -04:00
2026-02-21 17:09:51 -08:00
2022-06-10 14:51:36 +02:00
2026-02-21 17:09:51 -08:00
2025-05-21 10:27:20 -04:00
2022-06-10 14:51:36 +02:00
2026-06-11 14:24:39 -04:00
2026-06-11 14:24:37 -04:00
2026-04-13 09:18:16 -04:00
2025-10-24 10:31:24 -04:00
2026-01-29 13:34:25 -05:00
2026-04-10 10:22:00 -04:00
2025-03-25 12:42:35 -04:00
2025-07-16 15:37:53 -04:00
2026-02-21 17:09:51 -08:00
2026-06-11 14:24:38 -04:00
2023-08-11 11:35:14 -07:00
2025-07-16 15:37:53 -04:00
2026-06-11 14:24:39 -04:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-05-06 16:21:43 -04:00
2026-01-29 13:22:42 -05:00
2026-02-21 17:09:51 -08:00
2026-05-06 16:21:43 -04:00
2026-05-06 16:21:43 -04:00
2026-05-06 16:21:43 -04:00
2026-02-21 17:09:51 -08:00
2026-05-20 16:35:47 -04:00
2026-04-13 09:19:42 -04:00
2026-02-21 17:09:51 -08:00
2025-10-24 10:31:24 -04:00
2026-05-27 16:44:02 -04:00
2025-07-16 15:37:53 -04:00
2025-10-24 10:31:24 -04:00
2026-02-21 17:09:51 -08:00
2026-06-11 14:24:38 -04:00
2026-06-11 14:24:38 -04:00
2026-05-06 16:22:33 -04:00