Merge pull request #6814 from pan-/fix-discovery-termination

GenericGattClient: Fix discovery termination.
pull/6842/merge
Cruz Monrreal 2018-05-08 10:41:34 -05:00 committed by GitHub
commit a5326ca047
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -147,6 +147,7 @@ struct GenericGattClient::DiscoveryControlBlock : public ProcedureControlBlock {
const AttErrorResponse& error = static_cast<const AttErrorResponse&>(message);
if (error.error_code != AttErrorResponse::ATTRIBUTE_NOT_FOUND) {
terminate(client);
return;
}
switch (error.request_opcode) {