aboutsummaryrefslogtreecommitdiff
path: root/src/mm-bearer-qmi.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2016-07-15 12:23:01 +0200
committerAleksander Morgado <aleksander@aleksander.es>2016-07-15 19:31:45 +0200
commitddbc2195687bf4f5c94d7e60d808ddb695052f7f (patch)
treef0b2646ce87a05e41efd7bbc6cd4a225380cf5e8 /src/mm-bearer-qmi.h
parent46b17908ce18e89280db3cb7fa0981ee4fec5a23 (diff)
bearer-qmi: decide IP method during connection attempt
Deciding the IP method to use based on the underlying QMI port LLP should not be done when the bearer object is created, because the QMI port in use may not actually be open or have been opened at that time. During the connection attempt we do make sure the QMI port is open, so we should check the LLP to use just after that step.
Diffstat (limited to 'src/mm-bearer-qmi.h')
-rw-r--r--src/mm-bearer-qmi.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mm-bearer-qmi.h b/src/mm-bearer-qmi.h
index b17f1d4b..b29fed37 100644
--- a/src/mm-bearer-qmi.h
+++ b/src/mm-bearer-qmi.h
@@ -38,8 +38,6 @@ typedef struct _MMBearerQmi MMBearerQmi;
typedef struct _MMBearerQmiClass MMBearerQmiClass;
typedef struct _MMBearerQmiPrivate MMBearerQmiPrivate;
-#define MM_BEARER_QMI_FORCE_DHCP "bearer-qmi-force-dhcp"
-
struct _MMBearerQmi {
MMBaseBearer parent;
MMBearerQmiPrivate *priv;
@@ -54,7 +52,6 @@ GType mm_bearer_qmi_get_type (void);
/* QMI bearer creation implementation.
* NOTE it is *not* a broadband bearer, so not async-initable */
MMBaseBearer *mm_bearer_qmi_new (MMBroadbandModemQmi *modem,
- MMBearerProperties *config,
- gboolean force_dhcp);
+ MMBearerProperties *config);
#endif /* MM_BEARER_QMI_H */