]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit220bb8896fcdabe239d5405c61298a41df2a747d
tree7b313e253aa910401221e1bdb6859df074955d97
parent6ff9377e0950c7c1be2ee71e98886efd779b7eb3
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