nfc: st-nci: Add support for HCI event connectivity
authorChristophe Ricard <christophe.ricard@gmail.com>
Wed, 23 Dec 2015 22:45:19 +0000 (23:45 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 29 Dec 2015 18:06:20 +0000 (19:06 +0100)
Add support for connectivity event

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

index aa692da..a53e5df 100644 (file)
@@ -331,7 +331,7 @@ static int st_nci_hci_connectivity_event_received(struct nci_dev *ndev,
 
        switch (event) {
        case ST_NCI_EVT_CONNECTIVITY:
-
+               r = nfc_se_connectivity(ndev->nfc_dev, host);
        break;
        case ST_NCI_EVT_TRANSACTION:
                /* According to specification etsi 102 622