aboutsummaryrefslogtreecommitdiff
path: root/src/mm-iface-modem.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2019-09-13 18:25:32 +0200
committerAleksander Morgado <aleksander@gnu.org>2019-09-15 07:17:52 +0000
commitf2f42e193e478cc2e83336ad7b535a3793712d0f (patch)
treece388b970bea9cea4cc4ee838d4a7db126c15b06 /src/mm-iface-modem.h
parent137ece0f2fd1a9592c5dd79812588037723e7fa3 (diff)
iface-modem: report last attempt to load_unlock_required implementations
The load_unlock_required() step will be automatically retried by the generic interface logic unless some specific errors happen (e.g. it won't be retried if a SIM missing error is received). This patch allows telling the implementation of the method whether this time being run is the last one before reporting a hard error or not.
Diffstat (limited to 'src/mm-iface-modem.h')
-rw-r--r--src/mm-iface-modem.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mm-iface-modem.h b/src/mm-iface-modem.h
index 51cb02bd..9df39030 100644
--- a/src/mm-iface-modem.h
+++ b/src/mm-iface-modem.h
@@ -120,6 +120,7 @@ struct _MMIfaceModem {
/* Loading of the UnlockRequired property */
void (*load_unlock_required) (MMIfaceModem *self,
+ gboolean last_attempt,
GAsyncReadyCallback callback,
gpointer user_data);
MMModemLock (*load_unlock_required_finish) (MMIfaceModem *self,