qmi: gprs-context: Actually send param to qmi_service_send
PATCH 1/1 qmi: gprs-context: Actually send param to qmi_service_send
The parameter structure was built, but not included into the qmi_service_send call resulting in a memory leak.
Fixes b6ced6c5c4c9 ("qmi: gprs-context: Request certain TLVs to be included")
--- drivers/qmimodem/gprs-context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/qmimodem/gprs-context.c +1 -1
@@ -194,7 +194,7 @@ static void start_net_cb(struct qmi_result *result, void *user_data) param =qmi_param_new_uint32 (PARAM_REQUESTED_SETTINGS , requested_settings); -if (qmi_service_send (data->wds,QMI_WDS_GET_CURRENT_SETTINGS ,NULL , +if (qmi_service_send (data->wds,QMI_WDS_GET_CURRENT_SETTINGS , param, get_settings_cb, cbd, cb_data_unref) >0 ) {cb_data_ref (cbd);return ;
Signature · 1 line
2.44.0
This patch was applied to ofono.git (master) by Denis Kenzior <[email protected]>:
Hello:
This patch was applied to ofono.git (master)
by Denis Kenzior <[email protected]>:
Quoted 7 lines · On Thu, 25 Apr 2024 15:11:14 -0500 you wrote:
The parameter structure was built, but not included into the
qmi_service_sendcall resulting in a memory leak.Fixes b6ced6c5c4c9 ("qmi: gprs-context: Request certain TLVs to be included")--- drivers/qmimodem/gprs-context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
- qmi: gprs-context: Actually send param to qmi_service_send
https://git.kernel.org/pub/scm/network/ofono/ofono.git/?id=06978a863b4d
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html