diff --git a/test/auto-pts/btpclient.c b/test/auto-pts/btpclient.c index d0fc7da1f..b828544b4 100644 --- a/test/auto-pts/btpclient.c +++ b/test/auto-pts/btpclient.c @@ -794,14 +794,10 @@ static void btp_gap_handler(uint8_t opcode, uint8_t controller_index, uint16_t l // schedule response gap_send_connect_response = true; -#if 1 btstack_run_loop_remove_timer(&gap_connection_timer); btstack_run_loop_set_timer_handler(&gap_connection_timer, &gap_connect_timeout_handler); btstack_run_loop_set_timer(&gap_connection_timer, GAP_CONNECT_TIMEOUT_MS); btstack_run_loop_add_timer(&gap_connection_timer); -#else - gap_connect_send_response(); -#endif } break; case BTP_GAP_OP_DISCONNECT: