NFC: NCI: Fix skb->dev usage
authorFrederic Danis <frederic.danis@linux.intel.com>
Wed, 22 May 2013 09:36:17 +0000 (11:36 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 13 Jun 2013 22:25:53 +0000 (00:25 +0200)
commit1095e69f47926db6f1350a9d6a38626521580e87
tree0519d46f84f0904f2d8b8c843857645d8b358284
parent4674d0fecbeeb9731274f03ff35a108630be4585
NFC: NCI: Fix skb->dev usage

skb->dev is used for carrying a net_device pointer and not
an nci_dev pointer.

Remove usage of skb-dev to carry nci_dev and replace it by parameter
in nci_recv_frame(), nci_send_frame() and driver send() functions.

NfcWilink driver is also updated to use those functions.

Signed-off-by: Frederic Danis <frederic.danis@linux.intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/nfcwilink.c
include/net/nfc/nci_core.h
net/nfc/nci/core.c
net/nfc/nci/data.c