stkutil: Send at least the data currently available
authorPhilippe Nunes <philippe.nunes@linux.intel.com>
Wed, 4 May 2011 17:07:41 +0000 (19:07 +0200)
committerDenis Kenzior <denkenz@gmail.com>
Mon, 9 May 2011 04:30:10 +0000 (23:30 -0500)
src/stkutil.c

index 7299fb5..ee59841 100644 (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) {