mirror of git://git.sysmocom.de/ofono
stkutil: Use more understandable syntax
This commit is contained in:
parent
5ed7962765
commit
8d863b6250
|
@ -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,
|
static gboolean build_dataobj_access_technology(struct stk_tlv_builder *tlv,
|
||||||
const void *data, gboolean cr)
|
const void *data, gboolean cr)
|
||||||
{
|
{
|
||||||
return build_dataobj_access_technologies(tlv,
|
const struct stk_access_technologies techs = {
|
||||||
&(const struct stk_access_technologies) {
|
.techs = data,
|
||||||
.techs = data, .length = 1 }, cr);
|
.length = 1,
|
||||||
|
};
|
||||||
|
|
||||||
|
return build_dataobj_access_technologies(tlv, &techs, cr);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Described in TS 102.223 Section 8.69 */
|
/* Described in TS 102.223 Section 8.69 */
|
||||||
|
|
Loading…
Reference in New Issue