From 9d46dbc7a52a13b565b4b9bcaff8f563278323d3 Mon Sep 17 00:00:00 2001 From: Andrzej Zaborowski Date: Wed, 7 Jul 2010 00:38:58 +0200 Subject: stk: Handle MoreTime command as a no-op --- src/stk.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src') diff --git a/src/stk.c b/src/stk.c index 66b0a6b6..ba66fe29 100644 --- a/src/stk.c +++ b/src/stk.c @@ -143,6 +143,15 @@ static void stk_command_cb(const struct ofono_error *error, void *data) DBG("TERMINAL RESPONSE to a command reported no errors"); } +static gboolean handle_command_more_time(const struct stk_command *cmd, + struct stk_response *rsp, + struct ofono_stk *stk) +{ + /* Do nothing */ + + return TRUE; +} + static void stk_proactive_command_cancel(struct ofono_stk *stk) { if (!stk->pending_cmd) @@ -213,6 +222,10 @@ void ofono_stk_proactive_command_notify(struct ofono_stk *stk, rsp.result.type = STK_RESULT_TYPE_COMMAND_NOT_UNDERSTOOD; break; + case STK_COMMAND_TYPE_MORE_TIME: + respond = handle_command_more_time(stk->pending_cmd, + &rsp, stk); + break; } if (respond) -- cgit v1.2.3