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)
commitbe055b2f89b5842f41363b5655a33dffb51a8294
tree6398132673bbef68a876092afb715e9906edae27
parent44b3decb414919760c7327df05e63372c1bf5d9a
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