]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: Prevent polling when device is down
authorSamuel Ortiz <sameo@linux.intel.com>
Wed, 10 Apr 2013 10:25:30 +0000 (12:25 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 11 Apr 2013 14:29:10 +0000 (16:29 +0200)
commit3c590b5c7f38c5c8481db7a61a3c6d641c47a97c
treebaf60c1117faa0c747d0330d9b9c15e031f18628
parent7bd5ee259afcb8cc3c170de747a2249b76732be0
NFC: Prevent polling when device is down

Some devices turn radio on whenever they're asked to start a poll.
To prevent that from happening, we just don't call into the driver
start_poll hook when the NFC device is down.

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