NFC: st-nci: initialize gate_count in st_nci_hci_network_init
authorChristophe Ricard <christophe.ricard@gmail.com>
Sun, 25 Oct 2015 21:54:32 +0000 (22:54 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 26 Oct 2015 05:53:16 +0000 (06:53 +0100)
commit404b3e585b15d7431a0ffa5cf67090569fad88c1
treebe5e0874940cf51634dc45e84f3c870c83555276
parent92d108b6f4fcabf45df5fa9631cfc4ada35e9ab1
NFC: st-nci: initialize gate_count in st_nci_hci_network_init

When initializing ndev->hci_dev->init_data, only gates field
was set. gate_count needs to be initialized as well.

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