NFC: Add tx skb allocation routine
authorSamuel Ortiz <sameo@linux.intel.com>
Wed, 14 Dec 2011 15:43:06 +0000 (16:43 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 14 Dec 2011 19:50:12 +0000 (14:50 -0500)
commit7c7cd3bfec68fee33b30d177df6a6a0c4bbdc59d
tree7b7332d63303d30c73b4ecd8a300e84d801baa33
parent52858b51b2c779a8f9db32accf774b165522ad81
NFC: Add tx skb allocation routine

This is a factorization of the current rawsock tx skb allocation routine,
as it will be used by the LLCP code.
We also rename nfc_alloc_skb to nfc_alloc_recv_skb for consistency sake.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/nfc/pn533.c
include/net/nfc/nfc.h
net/nfc/core.c
net/nfc/rawsock.c