gatt_client: fix write without response, regression from 0038504

This commit is contained in:
Matthias Ringwald 2023-06-01 17:21:27 +02:00
parent 7879c4f77d
commit b68ac7a525

View File

@ -1228,11 +1228,11 @@ static bool gatt_client_run_for_gatt_client(gatt_client_t * gatt_client){
// finally, notifiy client that write is complete // finally, notifiy client that write is complete
gatt_client_handle_transaction_complete(gatt_client); gatt_client_handle_transaction_complete(gatt_client);
emit_gatt_complete_event(gatt_client, ATT_ERROR_SUCCESS); emit_gatt_complete_event(gatt_client, ATT_ERROR_SUCCESS);
return true; break;
} }
#endif #endif
default: default:
packet_sent = false; done = false;
break; break;
} }