From 907f7859dfd396068e5ca8e64fcebaebdc4da8a8 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Thu, 3 Nov 2011 15:49:45 +0000 Subject: [PATCH] Let the actual modem plug-in detect and handle resets --- src/plugins/openmoko.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/plugins/openmoko.c b/src/plugins/openmoko.c index 28a9931..3d9b67c 100644 --- a/src/plugins/openmoko.c +++ b/src/plugins/openmoko.c @@ -341,10 +341,8 @@ static void _openmoko_deepsleep(PhonePlugin * plugin) if((p = helper->config_get(helper->phone, "openmoko", "deepsleep")) != NULL && strtoul(p, NULL, 10) != 0) cmd = "AT%SLEEP=2"; /* prevent deep sleep */ + /* XXX this may reset the hardware modem */ _openmoko_queue(plugin, cmd); - /* check if the hardware modem was reset */ - plugin->helper->trigger(plugin->helper->phone, - MODEM_EVENT_TYPE_AUTHENTICATION); }