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)
commit2757c3723c3d2b13e3a8bfaa034826f64e9cca43
tree05a2c978fc9edbc973f1f6b55afbddf6ccb79f55
parentfed7c25ec0d4894edfc36bbe5c5231e52f45483a
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