File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -459,6 +459,7 @@ config BTDM_CTRL_SCAN_BACKOFF_UPPERLIMITMAX
459459
460460config BTDM_CTRL_CHECK_CONNECT_IND_ACCESS_ADDRESS
461461 bool "Enable enhanced Access Address check in CONNECT_IND"
462+ depends on (BTDM_CTRL_MODE_BLE_ONLY || BTDM_CTRL_MODE_BTDM)
462463 default n
463464 help
464465 Enabling this option will add stricter verification of the Access Address in the CONNECT_IND PDU.
Original file line number Diff line number Diff line change @@ -252,6 +252,7 @@ extern uint32_t _bt_controller_data_end;
252252extern void config_bt_funcs_reset (void );
253253extern void config_ble_funcs_reset (void );
254254extern void config_btdm_funcs_reset (void );
255+ extern void btdm_aa_check_enhance_enable (void );
255256
256257#ifdef CONFIG_BT_BLUEDROID_ENABLED
257258extern void bt_stack_enableSecCtrlVsCmd (bool en );
@@ -1851,6 +1852,10 @@ static void patch_apply(void)
18511852#ifndef CONFIG_BTDM_CTRL_MODE_BR_EDR_ONLY
18521853 config_ble_funcs_reset ();
18531854#endif
1855+
1856+ #if BTDM_CTRL_CHECK_CONNECT_IND_ACCESS_ADDRESS_ENABLED
1857+ btdm_aa_check_enhance_enable ();
1858+ #endif
18541859}
18551860
18561861esp_err_t esp_bt_controller_enable (esp_bt_mode_t mode )
You can’t perform that action at this time.
0 commit comments