NFC: Implement HCI driver or internal error management
authorEric Lapuyade <eric.lapuyade@intel.com>
Mon, 11 Jun 2012 13:06:56 +0000 (15:06 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Jul 2012 20:42:09 +0000 (16:42 -0400)
commita070c8591a503ec65e2c84ebaf3454e5cd76e3fe
treebe16371429ff295074de0b88e8285c9fa27ff59a
parentccca0d6e8805f12fcda2e740c44afa7191923559
NFC: Implement HCI driver or internal error management

If there is an ongoing HCI command executing, it will be completed,
thereby pushing the error up to the core. Otherwise, HCI will directly
notify the core with the error.

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