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

Commit 7ecacbfa authored by Zwei.chen's avatar Zwei.chen Committed by android-build-merger
Browse files

Merge "Fix the test case HCT BV-01-C" am: 5d65b867 am: 2c627772 am: 94520b42

am: 7ee85012

Change-Id: I4c953cdc9c8d673faffc8c4034be56d6f50d012b
parents c032b9d8 7ee85012
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -571,7 +571,7 @@ void bta_hh_co_get_rpt_rsp(uint8_t dev_handle, uint8_t status, uint8_t* p_rpt,
  }

  // Send the HID report to the kernel.
  if (p_dev->fd >= 0 && p_dev->get_rpt_snt--) {
  if (p_dev->fd >= 0 && p_dev->get_rpt_snt > 0 && p_dev->get_rpt_snt--) {
    uint32_t* get_rpt_id =
        (uint32_t*)fixed_queue_dequeue(p_dev->get_rpt_id_queue);
    memset(&ev, 0, sizeof(ev));