gatt-service/spsc-client: use gatt_client_att_status_to_error_code

This commit is contained in:
Matthias Ringwald 2024-10-09 15:27:38 +02:00
parent 13a624a6d9
commit 67e0500dd3

View File

@ -359,7 +359,7 @@ static void handle_gatt_client_event(uint8_t packet_type, uint16_t channel, uint
client = scan_parameters_service_get_client_for_con_handle(gatt_event_query_complete_get_handle(packet));
btstack_assert(client != NULL);
status = gatt_service_client_att_status_to_error_code(gatt_event_query_complete_get_att_status(packet));
status = gatt_client_att_status_to_error_code(gatt_event_query_complete_get_att_status(packet));
switch (client->state){
case SCAN_PARAMETERS_SERVICE_CLIENT_STATE_W4_SERVICE_RESULT: