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

Commit d2384d7d authored by wangfukai's avatar wangfukai
Browse files

Fix typo in avdt_scb_by_hdl



Change-Id: I15ecac0232bfeb6c97f802c79bebc7aca03ab874
Signed-off-by: default avatarwangfukai <wangfukai@huawei.com>
parent 2fb23517
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -894,7 +894,7 @@ AvdtpScb* avdt_scb_by_hdl(uint8_t hdl) {
  }

  uint8_t index = hdl - 1;
  size_t i = index / AVDT_NUM_LINKS;
  size_t i = index / AVDT_NUM_SEPS;
  size_t j = index % AVDT_NUM_SEPS;

  AvdtpScb* p_scb = &avdtp_cb.ccb[i].scb[j];