---
drivers/mbmmodem/stk.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/drivers/mbmmodem/stk.c b/drivers/mbmmodem/stk.c
index 77bd7b5..53b5adf 100644
--- a/drivers/mbmmodem/stk.c
+++ b/drivers/mbmmodem/stk.c
@@ -179,6 +179,14 @@ static void stkn_notify(GAtResult *result, gpointer
user_data)
static void stkend_notify(GAtResult *result, gpointer user_data)
{
+ struct ofono_stk *stk = user_data;
+
+ /* Seems to be used by the modem and/or cards to indicate
+ * that we have taken too long to respond to a command, but
+ * does not invalidate current application state, such as
+ * main menu (?)
+ */
+ ofono_stk_proactive_command_cancel(stk);
}
static void mbm_stkc_cb(gboolean ok, GAtResult *result, gpointer user_data)
--
1.7.1.86.g0e460.dirty
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono