gatt-service/hids-client: use gatt_client_att_status_to_error_code

This commit is contained in:
Matthias Ringwald 2024-10-09 15:27:54 +02:00
parent 67e0500dd3
commit 45cccc7d14

View File

@ -1213,7 +1213,7 @@ static void handle_gatt_client_event(uint8_t packet_type, uint16_t channel, uint
client = hids_get_client_for_con_handle(gatt_event_query_complete_get_handle(packet));
if (client == NULL) break;
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 HIDS_CLIENT_STATE_W4_SERVICE_RESULT: