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

Commit fc3f47aa authored by Łukasz Rymanowski's avatar Łukasz Rymanowski
Browse files

has_client: Fix Indication confirmation

Bug: 238171211
Test: PTS
Test: atest BluetoothInstrumentationTests
Tag: #feature
Merged-In: Iba9fcfe6926a137f787f7fa4aa230153dde9998f
Change-Id: Iba9fcfe6926a137f787f7fa4aa230153dde9998f
(cherry picked from commit 0613ef94)
parent 0f39397d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1891,7 +1891,7 @@ class HasClientImpl : public HasClient {
      LOG(ERROR) << __func__ << ": rejected BTA_GATTC_NOTIF_EVT. is_notify = "
                 << evt.is_notify << ", len=" << static_cast<int>(evt.len);
    }
    if (!evt.is_notify) BTA_GATTC_SendIndConfirm(evt.conn_id, evt.handle);
    if (!evt.is_notify) BTA_GATTC_SendIndConfirm(evt.conn_id, evt.cid);

    OnHasNotification(evt.conn_id, evt.handle, evt.len, evt.value);
  }