]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: RFKILL support
authorSamuel Ortiz <sameo@linux.intel.com>
Thu, 11 Apr 2013 09:52:20 +0000 (11:52 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 12 Apr 2013 14:54:45 +0000 (16:54 +0200)
commit28f0723171db792d2de1218b9ca6658daec3c1d8
tree6398132673bbef68a876092afb715e9906edae27
parent63bee6d6209eca8d9240053d2b03f25dfa6f3104
NFC: RFKILL support

All NFC devices will now get proper RFKILL support as long as they provide
some dev_up and dev_down hooks. Rfkilling an NFC device will bring it down
while it is left to userspace to bring it back up when being rfkill unblocked.
This is very similar to what Bluetooth does.

Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
include/net/nfc/nfc.h
net/nfc/core.c