diff options
author | Andrzej Zaborowski <andrew.zaborowski@intel.com> | 2010-07-07 00:38:58 +0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-07-08 14:27:33 -0500 |
commit | 9d46dbc7a52a13b565b4b9bcaff8f563278323d3 (patch) | |
tree | 90e7cfd717913aeb893f0f9775d6089acd354973 | |
parent | 4344c7423fb6c361d1d62bbac78a8202ae474b96 (diff) | |
download | ofono-9d46dbc7a52a13b565b4b9bcaff8f563278323d3.tar.bz2 |
stk: Handle MoreTime command as a no-op
-rw-r--r-- | src/stk.c | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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) |