correct the SR_mode selection when konw nothing about Peripheral

This commit is contained in:
Jin Cheng
2022-12-01 10:16:45 +08:00
committed by Jincheng
parent e86181704a
commit efcef1a400

View File

@ -2414,7 +2414,7 @@ BOOLEAN l2cu_create_conn_after_switch (tL2C_LCB *p_lcb)
clock_offset = (UINT16)(p_inq_info->results.clock_offset);
} else {
/* No info known. Use default settings */
page_scan_rep_mode = HCI_PAGE_SCAN_REP_MODE_R1;
page_scan_rep_mode = HCI_PAGE_SCAN_REP_MODE_R2;
page_scan_mode = HCI_MANDATARY_PAGE_SCAN_MODE;
clock_offset = (p_dev_rec) ? p_dev_rec->clock_offset : 0;