NFC: Core must test the device polling state inside the device lock
authorEric Lapuyade <eric.lapuyade@intel.com>
Thu, 3 May 2012 14:21:58 +0000 (16:21 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Jul 2012 20:42:09 +0000 (16:42 -0400)
There can ever be only one call to nfc_targets_found() after polling
has been engaged. This could be from a target discovered event from
the driver, or from an error handler to notify poll will never complete.

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

diff --cc net/nfc/core.c
Simple merge