stkutil: Use more understandable syntax

This commit is contained in:
Denis Kenzior 2010-05-28 11:20:14 -05:00
parent 5ed7962765
commit 8d863b6250
1 changed files with 6 additions and 3 deletions

View File

@ -3623,9 +3623,12 @@ static gboolean build_dataobj_access_technologies(struct stk_tlv_builder *tlv,
static gboolean build_dataobj_access_technology(struct stk_tlv_builder *tlv,
const void *data, gboolean cr)
{
return build_dataobj_access_technologies(tlv,
&(const struct stk_access_technologies) {
.techs = data, .length = 1 }, cr);
const struct stk_access_technologies techs = {
.techs = data,
.length = 1,
};
return build_dataobj_access_technologies(tlv, &techs, cr);
}
/* Described in TS 102.223 Section 8.69 */