Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f6f67d6b authored by Krzysztof Kopyscinski (xWF)'s avatar Krzysztof Kopyscinski (xWF) Committed by Gerrit Code Review
Browse files

Merge "has_client.cc: add missing BTA_GATTC_CancelOpen in Disconnect" into main

parents 67478aee a382d201
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -256,6 +256,9 @@ public:
        if (is_connecting_actively) {
          BTA_GATTC_CancelOpen(gatt_if_, address, true);
          callbacks_->OnConnectionState(ConnectionState::DISCONNECTED, address);
        } else {
          /* Removes all registrations for connection. */
          BTA_GATTC_CancelOpen(gatt_if_, address, false);
        }
      }
      return;