summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/stk.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stk.c b/src/stk.c
index 69c4a492..97670159 100644
--- a/src/stk.c
+++ b/src/stk.c
@@ -540,6 +540,9 @@ static gboolean handle_command_poll_interval(const struct stk_command *cmd,
if (seconds < 1)
seconds = 1;
break;
+ default:
+ rsp->result.type = STK_RESULT_TYPE_DATA_NOT_UNDERSTOOD;
+ return TRUE;
}
if (ofono_modem_set_integer(modem, "status-poll-interval", seconds)) {