NFC: Extend and fix the internal secure element API
authorSamuel Ortiz <sameo@linux.intel.com>
Fri, 10 May 2013 09:57:06 +0000 (11:57 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 14 Jun 2013 11:44:53 +0000 (13:44 +0200)
commit0a946301c2d3eac8673e556df820c0b6023ac6c3
tree3cc74ad057df00a3dd6dd6f32d4a008473a21924
parent0b456c418a5595b9d67f300c9ac6a2441e774603
NFC: Extend and fix the internal secure element API

Secure elements need to be discovered after enabling the NFC controller.
This is typically done by the NCI core and the HCI drivers (HCI does not
specify how to discover SEs, it is left to the specific drivers).
Also, the SE enable/disable API explicitely takes a SE index as its
argument.

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