]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: Send netlink events for secure elements additions and removals
authorSamuel Ortiz <sameo@linux.intel.com>
Fri, 10 May 2013 13:47:37 +0000 (15:47 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 14 Jun 2013 11:44:59 +0000 (13:44 +0200)
commit072fd5a4b434e27de6c413914c935a1b27ad5e6e
tree05a2c978fc9edbc973f1f6b55afbddf6ccb79f55
parent6b4c8579beec8b5e38389f1311f8579a27e6261e
NFC: Send netlink events for secure elements additions and removals

When an NFC driver or host controller stack discovers a secure element,
it will call nfc_add_se(). In order for userspace applications to use
these secure elements, a netlink event will then be sent with the SE
index and its type. With that information userspace applications can
decide wether or not to enable SEs, through their indexes.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
include/uapi/linux/nfc.h
net/nfc/core.c
net/nfc/netlink.c
net/nfc/nfc.h