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

Commit 17ef849f authored by Jakub Pawlowski's avatar Jakub Pawlowski Committed by Automerger Merge Worker
Browse files

Fix "GATT Read Multiple Variable Response" builder am: 24508a81 am: 3021619d

parents 77ac98c2 3021619d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -199,7 +199,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) {
        VLOG(1) << "Buffer space not enough for this data item, skipping";
        break;
      }