NFC_ATTR_PROTOCOLS
nla_put_u32(msg, NFC_ATTR_PROTOCOLS, dev->supported_protocols) ||
[NFC_ATTR_PROTOCOLS] = { .type = NLA_U32 },
nla_put_u32(msg, NFC_ATTR_PROTOCOLS, target->supported_protocols) ||
!info->attrs[NFC_ATTR_PROTOCOLS]) &&
else if (info->attrs[NFC_ATTR_PROTOCOLS])
im_protocols = nla_get_u32(info->attrs[NFC_ATTR_PROTOCOLS]);
!info->attrs[NFC_ATTR_PROTOCOLS])
protocol = nla_get_u32(info->attrs[NFC_ATTR_PROTOCOLS]);
NFC_ATTR_PROTOCOLS};
else if (na->nla_type == NFC_ATTR_PROTOCOLS)