Searched refs:patch_buf (Results 1 – 1 of 1) sorted by relevance
314 uint8_t *patch_buf; in rtlbt_parse_fwfile_v1() local354 patch_buf = malloc(patch_length); in rtlbt_parse_fwfile_v1()355 if (patch_buf == NULL) { in rtlbt_parse_fwfile_v1()360 memcpy(patch_buf, fw->buf + patch_offset, patch_length - 4); in rtlbt_parse_fwfile_v1()361 memcpy(patch_buf + patch_length - 4, &fw_header->fw_version, 4); in rtlbt_parse_fwfile_v1()364 fw->buf = patch_buf; in rtlbt_parse_fwfile_v1()