Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0d635301 authored by Jeremy Wu's avatar Jeremy Wu Committed by Gerrit Code Review
Browse files

Merge "Floss: fix MSBC temp packet decode buffer size" into main

parents f0acd275 a9f60549
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -485,8 +485,7 @@ struct tBTM_MSBC_INFO {
    if (pkt_size == packet_size) return packet_size;
    packet_size = pkt_size;

    if (packet_buf) osi_free(packet_buf);
    packet_buf = (uint8_t*)osi_calloc(packet_size);
    if (!packet_buf) packet_buf = (uint8_t*)osi_calloc(BTM_MSBC_PKT_LEN);

    if (msbc_decode_buf) osi_free(msbc_decode_buf);
    msbc_decode_buf = (uint8_t*)osi_calloc(buf_size);