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 {