NFC: NCI: Send all NCI frames to raw sockets
authorHiren Tandel <hirent@marvell.com>
Mon, 5 May 2014 10:52:27 +0000 (19:52 +0900)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 19 May 2014 22:23:59 +0000 (00:23 +0200)
commit0515829642c65a4e3c6f44a2209bb426828d26d9
tree7b313e253aa910401221e1bdb6859df074955d97
parent57be1f3f3ec1ccab6432615ca161c4c9ece2a2aa
NFC: NCI: Send all NCI frames to raw sockets

So that anyone listening on SOCKPROTO_RAW for raw frames will get all
NCI frames, in both directions. This actually implements userspace NFC
NCI sniffing.
It's now up to userspace to decode those frames.

Signed-off-by: Hiren Tandel <hirent@marvell.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/nci/core.c