stkutil: Send at least the data currently available

This commit is contained in:
Philippe Nunes 2011-05-04 19:07:41 +02:00 committed by Denis Kenzior
parent b1f4e981f4
commit 563fcc5fe9
1 changed files with 2 additions and 1 deletions

View File

@ -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) {