Skip to content

Commit

Permalink
modemmanager: Fix SIM7100E crash
Browse files Browse the repository at this point in the history
With the update to MM 1.22.0 we have received reports that
SIM7100E is not functioning correctly.
Followed up with ModemManager devs and it was discovered the issue
is related to a PCO setting:
https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/884

Change-type: patch
Signed-off-by: Florin Sarbu <[email protected]>
  • Loading branch information
floion committed Sep 18, 2024
1 parent 7c61b0f commit e397c18
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
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

0 comments on commit e397c18

Please sign in to comment.