summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilippe Nunes <philippe.nunes@linux.intel.com>2011-05-04 19:07:41 +0200
committerDenis Kenzior <denkenz@gmail.com>2011-05-08 23:30:10 -0500
commit563fcc5fe93b4a3c3ec3985bb787e2ffba5d4b58 (patch)
tree027efc6fc52d354948aabff7c8f19755ac56961a
parentb1f4e981f4935bff1b198a24cf110a6e838e42a9 (diff)
downloadofono-563fcc5fe93b4a3c3ec3985bb787e2ffba5d4b58.tar.bz2
stkutil: Send at least the data currently available
-rw-r--r--src/stkutil.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stkutil.c b/src/stkutil.c
index 7299fb53..ee598412 100644
--- a/src/stkutil.c
+++ b/src/stkutil.c
@@ -5655,7 +5655,8 @@ static gboolean build_receive_data(struct stk_tlv_builder *builder,
const struct stk_response_receive_data *receive_data =
&response->receive_data;
- if (response->result.type != STK_RESULT_TYPE_SUCCESS)
+ if (response->result.type != STK_RESULT_TYPE_SUCCESS &&
+ response->result.type != STK_RESULT_TYPE_MISSING_INFO)
return TRUE;
if (receive_data->rx_data.len) {