mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
correct the SR_mode selection when konw nothing about Peripheral
This commit is contained in:
parent
c645c9ba06
commit
f2f6aef019
@ -2383,7 +2383,7 @@ BOOLEAN l2cu_create_conn_after_switch (tL2C_LCB *p_lcb)
|
|||||||
clock_offset = (UINT16)(p_inq_info->results.clock_offset);
|
clock_offset = (UINT16)(p_inq_info->results.clock_offset);
|
||||||
} else {
|
} else {
|
||||||
/* No info known. Use default settings */
|
/* 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;
|
page_scan_mode = HCI_MANDATARY_PAGE_SCAN_MODE;
|
||||||
|
|
||||||
clock_offset = (p_dev_rec) ? p_dev_rec->clock_offset : 0;
|
clock_offset = (p_dev_rec) ? p_dev_rec->clock_offset : 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user