projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8808edb
)
NFC: Add missing type policies for netlink attributes
author
Thierry Escande
<thierry.escande@linux.intel.com>
Fri, 15 Feb 2013 09:42:52 +0000
(10:42 +0100)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Sun, 10 Mar 2013 21:20:05 +0000
(22:20 +0100)
Signed-off-by: Thierry Escande <thierry.escande@linux.intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/netlink.c
patch
|
blob
|
blame
|
history
diff --git
a/net/nfc/netlink.c
b/net/nfc/netlink.c
index 504b883439f1b535b565c8efdc79e965afe465d4..63975c039b85dfa00a4402102d6f95fd5b2d6236 100644
(file)
--- 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,