Skip to content

Commit

Permalink
Merge branch 'bugfix/correct_the_default_SR_mode' into 'master'
Browse files Browse the repository at this point in the history
bugfix/correct the SR_mode selection when konw nothing about Peripheral

See merge request espressif/esp-idf!21355
  • Loading branch information
jack0c committed Dec 12, 2022
2 parents f0fd0b7 + f2f6aef commit 706a2c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/bt/host/bluedroid/stack/l2cap/l2c_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -2383,7 +2383,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;
Expand Down

0 comments on commit 706a2c7

Please sign in to comment.