Hi Jonas,

On 04/14/2017 04:36 PM, Jonas Bonn wrote:
---
 drivers/qmimodem/gprs-context.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/qmimodem/gprs-context.c b/drivers/qmimodem/gprs-context.c
index a1ee217..247ee9e 100644
--- a/drivers/qmimodem/gprs-context.c
+++ b/drivers/qmimodem/gprs-context.c
@@ -198,7 +198,7 @@ static void start_net_cb(struct qmi_result *result, void 
*user_data)
        data->pkt_handle = handle;

        /* Duplicate cbd, the old one will be freed when this method returns */
-       cbd = cb_data_new(cb, user_data);
+       cbd = cb_data_new(cb, cbd->data);

Ah darn, my fault for not double-checking my earlier fix. Thanks for catching this.

        cbd->user = gc;

        if (qmi_service_send(data->wds, QMI_WDS_GET_SETTINGS, NULL,


Applied, thanks.

Regards,
-Denis
_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono

Reply via email to