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

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

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

parents 034882a4 24508a81
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -198,7 +198,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;
      }