[PATCH] bearer-mbim: pass the right GError pointer to response parsers
Ben Chan
benchan at chromium.org
Thu Jun 5 23:20:45 PDT 2014
---
src/mm-bearer-mbim.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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);
--
2.0.0.526.g5318336
More information about the ModemManager-devel
mailing list