Skip to content

Commit

Permalink
correct the SR_mode selection when konw nothing about Peripheral
Browse files Browse the repository at this point in the history
  • Loading branch information
BetterJincheng committed Dec 9, 2022
1 parent 2693c89 commit a1de1bf
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 a1de1bf

Please sign in to comment.