shared-qmi: reuse device reset logic in MBIM whenever possible

This commit is contained in:
Aleksander Morgado
2018-07-08 14:17:34 +02:00
committed by Dan Williams
parent 32aa8333c6
commit 9dc26cc44d
4 changed files with 142 additions and 167 deletions

View File

@@ -60,6 +60,15 @@ gboolean mm_shared_qmi_ensure_client (MMSharedQmi *self,
GAsyncReadyCallback callback,
gpointer user_data);
/* Shared QMI device management support */
void mm_shared_qmi_reset (MMIfaceModem *self,
GAsyncReadyCallback callback,
gpointer user_data);
gboolean mm_shared_qmi_reset_finish (MMIfaceModem *self,
GAsyncResult *res,
GError **error);
/* Shared QMI location support */
void mm_shared_qmi_location_load_capabilities (MMIfaceModemLocation *self,