]> 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)
commit335cc904fc8b7834eaa8b9fd1a76bf52c5585819
tree6398132673bbef68a876092afb715e9906edae27
parentb2d23b53d7ac5db4df8b520f099b2582700db168
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