diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2011-11-28 12:53:30 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-15 14:14:28 +0100 |
commit | acc3e3f6da1d83ed9050505cc1e79da602c5c5ef (patch) | |
tree | 959938f4cd5c75199c4b54e3a70c4c7c726a159d /src/mm-base-modem.c | |
parent | 1d495c58e65d2160722467b54aefe7b70188ee19 (diff) |
core: always pass open port to interface initializations
When the first AT port is grabbed, modem initialization is launched, using that
specific port. This port is also passed to all interface initialization methods.
Diffstat (limited to 'src/mm-base-modem.c')
-rw-r--r-- | src/mm-base-modem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-base-modem.c b/src/mm-base-modem.c index 2fa424d6..6a10053a 100644 --- a/src/mm-base-modem.c +++ b/src/mm-base-modem.c @@ -266,6 +266,7 @@ mm_base_modem_grab_port (MMBaseModem *self, /* As soon as we get the primary AT port, we initialize the * modem */ MM_BASE_MODEM_GET_CLASS (self)->initialize (self, + MM_AT_SERIAL_PORT (port), NULL, /* TODO: cancellable */ (GAsyncReadyCallback)initialize_ready, NULL); @@ -707,4 +708,3 @@ mm_base_modem_class_init (MMBaseModemClass *klass) G_PARAM_READWRITE); g_object_class_install_property (object_class, PROP_CONNECTION, properties[PROP_CONNECTION]); } - |