From d2d06ef65ac63af41516d334cd8a5446a0f20cc3 Mon Sep 17 00:00:00 2001 From: Maarten van Gompel Date: Mon, 5 Apr 2021 12:01:32 +0200 Subject: [PATCH] Revert "Workaround for reliable incoming calls waking up from CRUST", no longer needed with eg25-manager and caused ModemManager restart issues This reverts commit bcf4f5c24968df0055d15a9fca649f67de9ced6a. --- programs/sxmo_screenlock.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/programs/sxmo_screenlock.c b/programs/sxmo_screenlock.c index 5153891..0e78193 100644 --- a/programs/sxmo_screenlock.c +++ b/programs/sxmo_screenlock.c @@ -407,13 +407,11 @@ syncstate() //---- program blocks here due to sleep ----- // // Just woke up again fprintf(stderr, "Screenlock woke up\n"); - fprintf(stderr, "Resetting usb connection to the modem\n"); - writefile("/sys/bus/usb/drivers/usb/unbind", "3-1"); - writefile("/sys/bus/usb/drivers/usb/bind", "3-1"); fprintf(stderr, "Lower scan interval for quicker reconnection to wireless network\n"); writefile("/sys/module/8723cs/parameters/rtw_scan_interval_thr", "1200"); //ms //^-- this will be undone again by a networkmanager hook after connection has been established // or by a delayed script if no connection can be established after a while (to conserve battery) + fprintf(stderr, "Woke up\n"); if (waketime > 0) { rtcresult = checkrtcwake(); } else {