[RFC PATCH] port-qmi: automatically try to set 802.3 link layer protocol when opening

Aleksander Morgado aleksander at aleksander.es
Mon Jun 8 04:10:53 PDT 2015


On Mon, Jun 8, 2015 at 11:00 AM, Aleksander Morgado
<aleksander at aleksander.es> wrote:
>  static void
> diff --git a/src/mm-port-qmi.h b/src/mm-port-qmi.h
> index 9c38b0c..b693ce9 100644
> --- a/src/mm-port-qmi.h
> +++ b/src/mm-port-qmi.h
> @@ -82,4 +82,12 @@ QmiClient *mm_port_qmi_get_client  (MMPortQmi *self,
>                                      QmiService service,
>                                      MMPortQmiFlag flag);
>
> +void     mm_port_qmi_data_format        (MMPortQmi *self,
> +                                         GCancellable *cancellable,
> +                                         GAsyncReadyCallback callback,
> +                                         gpointer user_data);
> +gboolean mm_port_qmi_data_format_finish (MMPortQmi *self,
> +                                         GAsyncResult *res,
> +                                         GError **error);
> +
>  #endif /* MM_PORT_QMI_H */

Just realized that the header API was still in the patch. It
shouldn't; that was part of another iteration I previously did, where
the data format was being set just before launching the connection,
but the modem didn't like that one. Please ignore the header changes.


-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list