NFC: st21nfca: Fix host_list verification after SEactivation
authorChristophe Ricard <christophe.ricard@gmail.com>
Sun, 25 Oct 2015 21:54:42 +0000 (22:54 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 27 Oct 2015 02:55:12 +0000 (03:55 +0100)
commitcde2aa99ba702ab8efa583495e54731b9f854e66
tree437afa4bdbd57ad12cc9d402130d4d62d615f81e
parent4e932acc6fd66c905b2d0ca452dcf69321b6c414
NFC: st21nfca: Fix host_list verification after SEactivation

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/st21nfca/se.c