[PATCH] bearer-mbim: pass the right GError pointer to response parsers

Aleksander Morgado aleksander at aleksander.es
Mon Jun 9 03:28:47 PDT 2014


On 06/06/14 08:20, Ben Chan wrote:
> ---
>  src/mm-bearer-mbim.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 

Pushed, thanks.

> diff --git a/src/mm-bearer-mbim.c b/src/mm-bearer-mbim.c
> index 1f4adb0..b1e3176 100644
> --- a/src/mm-bearer-mbim.c
> +++ b/src/mm-bearer-mbim.c
> @@ -568,7 +568,7 @@ packet_service_set_ready (MbimDevice *device,
>                  &highest_available_data_class,
>                  &uplink_speed,
>                  &downlink_speed,
> -                &error)) {
> +                &inner_error)) {
>              if (nw_error) {
>                  if (error)
>                      g_error_free (error);
> @@ -963,7 +963,7 @@ disconnect_set_ready (MbimDevice *device,
>                  NULL, /* ip_type */
>                  NULL, /* context_type */
>                  &nw_error,
> -                &error)) {
> +                &inner_error)) {
>              if (nw_error) {
>                  if (error)
>                      g_error_free (error);
> 


-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list