qmi: duplicate callback data correctly
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 @@
 	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);
 	cbd->user = gc;
 
 	if (qmi_service_send(data->wds, QMI_WDS_GET_SETTINGS, NULL,