mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 11:17:20 +02:00
correct the SR_mode selection when konw nothing about Peripheral
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user