From: Thierry Escande Date: Fri, 15 Feb 2013 09:42:52 +0000 (+0100) Subject: NFC: Add missing type policies for netlink attributes X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8af362d124ce250cafb50cb488b4beb69fee3373;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git NFC: Add missing type policies for netlink attributes Signed-off-by: Thierry Escande Signed-off-by: Samuel Ortiz --- diff --git a/net/nfc/netlink.c b/net/nfc/netlink.c index 504b883439f1..63975c039b85 100644 --- a/net/nfc/netlink.c +++ b/net/nfc/netlink.c @@ -53,6 +53,9 @@ static const struct nla_policy nfc_genl_policy[NFC_ATTR_MAX + 1] = { [NFC_ATTR_DEVICE_POWERED] = { .type = NLA_U8 }, [NFC_ATTR_IM_PROTOCOLS] = { .type = NLA_U32 }, [NFC_ATTR_TM_PROTOCOLS] = { .type = NLA_U32 }, + [NFC_ATTR_LLC_PARAM_LTO] = { .type = NLA_U8 }, + [NFC_ATTR_LLC_PARAM_RW] = { .type = NLA_U8 }, + [NFC_ATTR_LLC_PARAM_MIUX] = { .type = NLA_U16 }, }; static int nfc_genl_send_target(struct sk_buff *msg, struct nfc_target *target,