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

Commit c7b099e8 authored by Chris Manton's avatar Chris Manton Committed by Automerger Merge Worker
Browse files

Const-ify btm_sco_conn_req::DEV_CLASS am: d266956b

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1667068

Change-Id: I3a3079e175bb767f5090049cd42290fa3cfce97d
parents aee7ad1f d266956b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -588,7 +588,7 @@ void btm_sco_disc_chk_pend_for_modechange(uint16_t hci_handle) {
 * Returns          void
 *
 ******************************************************************************/
void btm_sco_conn_req(const RawAddress& bda, DEV_CLASS dev_class,
void btm_sco_conn_req(const RawAddress& bda, const DEV_CLASS dev_class,
                      uint8_t link_type) {
  tSCO_CB* p_sco = &btm_cb.sco_cb;
  tSCO_CONN* p = &p_sco->sco_db[0];
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ extern void btm_esco_proc_conn_chg(uint8_t status, uint16_t handle,
extern bool btm_is_sco_active(uint16_t handle);
extern void btm_sco_chk_pend_unpark(tHCI_STATUS hci_status,
                                    uint16_t hci_handle);
extern void btm_sco_conn_req(const RawAddress& bda, DEV_CLASS dev_class,
extern void btm_sco_conn_req(const RawAddress& bda, const DEV_CLASS dev_class,
                             uint8_t link_type);
extern void btm_sco_connected(tHCI_STATUS hci_status, const RawAddress& bda,
                              uint16_t hci_handle, tBTM_ESCO_DATA* p_esco_data);