NFC: st-nci: Fix host_list verification after SE activation
authorChristophe Ricard <christophe.ricard@gmail.com>
Sun, 25 Oct 2015 21:54:41 +0000 (22:54 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 27 Oct 2015 02:55:11 +0000 (03:55 +0100)
commit4e932acc6fd66c905b2d0ca452dcf69321b6c414
treec3abce5aa1ca3901baac5b467549207d97c05f2f
parent06521053a06062f62f001d79b7c1449a614cc4af
NFC: st-nci: Fix host_list verification after SE activation

A secure element can be activated in different order.
The host_list is updated keeping a fixed order:
<terminal_host_id><uicc_id><ese_id>.

Cc: stable@vger.kernel.org
Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/st-nci/se.c