NFC: nci: Fix incorrect data chaining when sending data
authorChristophe Ricard <christophe.ricard@gmail.com>
Sun, 25 Oct 2015 21:54:20 +0000 (22:54 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 26 Oct 2015 05:53:11 +0000 (06:53 +0100)
commit500c4ef02277eaadbfe20537f963b6221f6ac007
treebc0675ce1c6f0f7e9ba8bd1e403ab871a4082dd9
parenta1269dd116319335db6d73013a31c038486c813e
NFC: nci: Fix incorrect data chaining when sending data

When sending HCI data over NCI, cmd information should be
present only on the first packet.
Each packet shall be specifically allocated and sent to the
NCI layer.

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