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

Commit 86e621d6 authored by William Escande's avatar William Escande Committed by Gerrit Code Review
Browse files

Merge "btm_sec: Class of device regression fix" into main

parents 4b1a8169 179acecb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1919,7 +1919,7 @@ void btm_sec_conn_req(const RawAddress& bda, const DEV_CLASS dc) {
  /* Host is not interested or approved connection.  Save BDA and DC and */
  /* pass request to L2CAP */
  btm_sec_cb.connecting_bda = bda;
  memcpy(btm_sec_cb.connecting_dc, &dc, DEV_CLASS_LEN);
  memcpy(btm_sec_cb.connecting_dc, dc, DEV_CLASS_LEN);

  p_dev_rec = btm_find_or_alloc_dev(bda);
  p_dev_rec->sm4 |= BTM_SM4_CONN_PEND;