Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modemmanager: Fix SIM7100E crash #3515

Merged
merged 1 commit into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
From 2505748e9b71ceaf290da40f767dc4b90238576a Mon Sep 17 00:00:00 2001
From: Florin Sarbu <[email protected]>
Date: Fri, 13 Sep 2024 09:36:49 +0000
Subject: [PATCH] bearer-qmi: Fix SIM7100E crash

As per https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/842#note_2521001

Signed-off-by: Florin Sarbu <[email protected]>
---
src/mm-bearer-qmi.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/mm-bearer-qmi.c b/src/mm-bearer-qmi.c
index 54f2e934..d8e52f5c 100644
--- a/src/mm-bearer-qmi.c
+++ b/src/mm-bearer-qmi.c
@@ -1116,8 +1116,7 @@ get_current_settings (GTask *task, QmiClientWds *client)
QMI_WDS_REQUESTED_SETTINGS_GATEWAY_INFO |
QMI_WDS_REQUESTED_SETTINGS_MTU |
QMI_WDS_REQUESTED_SETTINGS_DOMAIN_NAME_LIST |
- QMI_WDS_REQUESTED_SETTINGS_IP_FAMILY |
- QMI_WDS_REQUESTED_SETTINGS_OPERATOR_RESERVED_PCO;
+ QMI_WDS_REQUESTED_SETTINGS_IP_FAMILY;

input = qmi_message_wds_get_current_settings_input_new ();
qmi_message_wds_get_current_settings_input_set_requested_settings (input, requested, NULL);
--
2.34.1

Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ SRC_URI:append = " \
file://0001-increase-qmi-port-open-timeout.patch \
file://0002-quectel-disable-qmi-unsolicited-profile-manager-even.patch \
file://0003-broadband-modem-qmi-quectel-fix-task-completion-when.patch \
file://0004-bearer-qmi-Fix-SIM7100E-crash.patch \
"

PACKAGECONFIG:remove = "polkit"
Expand Down
Loading