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

Commit 46c88ce2 authored by Jakub Pawłowski's avatar Jakub Pawłowski Committed by Gerrit Code Review
Browse files

Merge "Fix "GATT Read Multiple Variable Response" builder" into main

parents 56056198 3bcb6bd1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -208,7 +208,7 @@ static void build_read_multi_rsp(tGATT_SR_CMD* p_cmd, uint16_t mtu) {

      len = std::min((size_t)p_rsp->attr_value.len, mtu - total_len);

      if (len == 0) {
      if (total_len == mtu && p_rsp->attr_value.len > 0) {
        log::verbose("Buffer space not enough for this data item, skipping");
        break;
      }